Tanya Lattner | cd0aa81 | 2004-11-06 21:40:51 +0000 | [diff] [blame^] | 1 | ; RUN: llvm-as < %s | llc -march=c |
2 | |||||
Nick Hildenbrandt | 6d60815 | 2002-11-06 21:38:39 +0000 | [diff] [blame] | 3 | %testString = internal constant [18 x sbyte] c "Escaped newline\n\00" |
4 | |||||
5 | implementation | ||||
6 | |||||
7 | declare int %printf(sbyte*, ...) | ||||
8 | |||||
9 | int %main() { | ||||
10 | call int (sbyte*, ...)* %printf( sbyte* getelementptr ([18 x sbyte]* %testString, long 0, long 0)) | ||||
11 | ret int 0 | ||||
12 | } |