blob: d9e9d587ce6dfb9538b7efaf6f1c448e359af77b [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001; RUN: llvm-upgrade < %s | llvm-as | llc
2
3%.str_1 = internal constant [7 x sbyte] c"hello\0A\00"
4
5declare int %printf(sbyte*, ...)
6
7int %main() {
8 %s = getelementptr [7 x sbyte]* %.str_1, long 0, long 0
9 call int (sbyte*, ...)* %printf(sbyte* %s)
10 ret int 0
11}