Home | History | Annotate | Download | only in MCJIT
      1 ; RUN: %lli %s > /dev/null
      2 
      3 @X = global i32 7		; <i32*> [#uses=0]
      4 @msg = internal global [13 x i8] c"Hello World\0A\00"		; <[13 x i8]*> [#uses=1]
      5 
      6 declare void @printf([13 x i8]*, ...)
      7 
      8 define void @bar() {
      9 	call void ([13 x i8]*, ...) @printf( [13 x i8]* @msg )
     10 	ret void
     11 }
     12 
     13 define i32 @main() {
     14 	call void @bar( )
     15 	ret i32 0
     16 }
     17 
     18