aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/CBackend/2004-12-03-ExternStatics.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/CBackend/2004-12-03-ExternStatics.ll')
-rw-r--r--test/CodeGen/CBackend/2004-12-03-ExternStatics.ll14
1 files changed, 6 insertions, 8 deletions
diff --git a/test/CodeGen/CBackend/2004-12-03-ExternStatics.ll b/test/CodeGen/CBackend/2004-12-03-ExternStatics.ll
index a285dae..8acab76 100644
--- a/test/CodeGen/CBackend/2004-12-03-ExternStatics.ll
+++ b/test/CodeGen/CBackend/2004-12-03-ExternStatics.ll
@@ -1,12 +1,10 @@
-; RUN: llvm-upgrade < %s | llvm-as | llc -march=c | not grep extern.*msg
+; RUN: llvm-as < %s | llc -march=c | not grep extern.*msg
+; PR472
-; This is PR472
+@msg = internal global [6 x i8] c"hello\00" ; <[6 x i8]*> [#uses=1]
-%msg = internal global [6 x sbyte] c"hello\00"
-
-implementation ; Functions:
-
-sbyte* %foo() {
+define i8* @foo() {
entry:
- ret sbyte* getelementptr ([6 x sbyte]* %msg, int 0, int 0)
+ ret i8* getelementptr ([6 x i8]* @msg, i32 0, i32 0)
}
+