blob: 82d594fc7e202c87b285dc31d7463614437a559f [file] [log] [blame]
Dan Gohmanfce288f2009-09-09 00:09:15 +00001; RUN: llc < %s -march=c
Tanya Lattnercd0aa812004-11-06 21:40:51 +00002
Tanya Lattner53a66d12008-02-19 01:41:04 +00003@testString = internal constant [18 x i8] c"Escaped newline\5Cn\00" ; <[18 x i8]*> [#uses=1]
Nick Hildenbrandt6d608152002-11-06 21:38:39 +00004
Tanya Lattner53a66d12008-02-19 01:41:04 +00005declare i32 @printf(i8*, ...)
Nick Hildenbrandt6d608152002-11-06 21:38:39 +00006
Tanya Lattner53a66d12008-02-19 01:41:04 +00007define i32 @main() {
8 call i32 (i8*, ...)* @printf( i8* getelementptr ([18 x i8]* @testString, i64 0, i64 0) ) ; <i32>:1 [#uses=0]
9 ret i32 0
Nick Hildenbrandt6d608152002-11-06 21:38:39 +000010}
Tanya Lattner53a66d12008-02-19 01:41:04 +000011