llvm-6502/test/CodeGen/CBackend/2002-11-06-PrintEscaped.ll
Nick Hildenbrandt 6d608154d6 Certain characters not getting escaped properly
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4582 91177308-0d34-0410-b5e6-96231b3b80d8
2002-11-06 21:38:39 +00:00

11 lines
250 B
LLVM

%testString = internal constant [18 x sbyte] c "Escaped newline\n\00"
implementation
declare int %printf(sbyte*, ...)
int %main() {
call int (sbyte*, ...)* %printf( sbyte* getelementptr ([18 x sbyte]* %testString, long 0, long 0))
ret int 0
}