Fix a bug in GVN that Duncan noticed, where we potentially need to insert a
[oota-llvm.git] / test / Assembler / 2002-08-15-UnresolvedGlobalReference.ll
index 83b82a6884593962e7481a0e6568e3fca998fc65..38802f0cf267675e94f10d994b1e8f8d46700599 100644 (file)
@@ -1,10 +1,8 @@
 ; RUN: llvm-as < %s -o /dev/null -f
 
-%.LC0 = internal global [12 x sbyte] c"hello world\00"          ; <[12 x sbyte]*> [#uses=1]
+@.LC0 = internal global [12 x i8] c"hello world\00"             ; <[12 x i8]*> [#uses=1]
 
-implementation   ; Functions:
-
-sbyte* %test() {
-        ret sbyte* getelementptr ([12 x sbyte]* %.LC0, long 0, long 0)
+define i8* @test() {
+        ret i8* getelementptr ([12 x i8]* @.LC0, i64 0, i64 0)
 }