llvm-mirror/test/Assembler/2002-08-15-UnresolvedGlobalReference.ll
2007-01-17 07:59:14 +00:00

11 lines
267 B
LLVM

; RUN: llvm-upgrade < %s | llvm-as -o /dev/null -f
%.LC0 = internal global [12 x sbyte] c"hello world\00" ; <[12 x sbyte]*> [#uses=1]
implementation ; Functions:
sbyte* %test() {
ret sbyte* getelementptr ([12 x sbyte]* %.LC0, long 0, long 0)
}