Dan Gohman | f17a25c | 2007-07-18 16:29:46 +0000 | [diff] [blame] | 1 | ; RUN: llvm-upgrade < %s | llvm-as | llc -march=c |
2 | |||||
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 | } |