diff options
Diffstat (limited to 'test/CodeGen/CBackend/2002-11-06-PrintEscaped.ll')
-rw-r--r-- | test/CodeGen/CBackend/2002-11-06-PrintEscaped.ll | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/test/CodeGen/CBackend/2002-11-06-PrintEscaped.ll b/test/CodeGen/CBackend/2002-11-06-PrintEscaped.ll index 62c0e27..2dd281a 100644 --- a/test/CodeGen/CBackend/2002-11-06-PrintEscaped.ll +++ b/test/CodeGen/CBackend/2002-11-06-PrintEscaped.ll @@ -1,12 +1,11 @@ -; RUN: llvm-upgrade < %s | llvm-as | llc -march=c +; RUN: llvm-as < %s | llc -march=c -%testString = internal constant [18 x sbyte] c "Escaped newline\n\00" +@testString = internal constant [18 x i8] c"Escaped newline\5Cn\00" ; <[18 x i8]*> [#uses=1] -implementation +declare i32 @printf(i8*, ...) -declare int %printf(sbyte*, ...) - -int %main() { - call int (sbyte*, ...)* %printf( sbyte* getelementptr ([18 x sbyte]* %testString, long 0, long 0)) - ret int 0 +define i32 @main() { + call i32 (i8*, ...)* @printf( i8* getelementptr ([18 x i8]* @testString, i64 0, i64 0) ) ; <i32>:1 [#uses=0] + ret i32 0 } + |