| Tanya Lattner | f14e76d | 2004-11-06 21:40:51 +0000 | [diff] [blame^] | 1 | ; RUN: llvm-as < %s | llc -march=c |
| 2 | |||||
| Nick Hildenbrandt | 36053f5 | 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 | } | ||||