1 ; RUN: lli -jit-kind=orc-lazy %s | FileCheck %s
5 @x = common global i32 0, align 4
6 @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
10 %retval = alloca i32, align 4
11 store i32 0, ptr %retval, align 4
12 store i32 7, ptr @x, align 4
13 %0 = load i32, ptr @x, align 4
14 %call = call i32 (ptr, ...) @printf(ptr @.str, i32 %0)
18 declare i32 @printf(ptr, ...)