1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-25 05:52:53 +02:00
llvm-mirror/test/CodeGen/CBackend/2004-12-03-ExternStatics.ll

11 lines
239 B
LLVM
Raw Normal View History

; RUN: llvm-as < %s | llc -march=c | not grep extern.*msg
; PR472
2004-12-03 18:18:42 +01:00
@msg = internal global [6 x i8] c"hello\00" ; <[6 x i8]*> [#uses=1]
2004-12-03 18:18:42 +01:00
define i8* @foo() {
2004-12-03 18:18:42 +01:00
entry:
ret i8* getelementptr ([6 x i8]* @msg, i32 0, i32 0)
2004-12-03 18:18:42 +01:00
}