llvm-6502/test/Assembler/2002-08-15-UnresolvedGlobalReference.ll
2006-12-02 20:34:08 +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)
}