1 ; RUN: lli -jit-kind=orc-lazy %s
3 ; Test handling of global aliases for function and variables.
5 @x = global i32 42, align 4
6 @y = alias i32, i32* @x
10 %0 = load i32, i32* @y, align 4
14 @bar = alias i32(), i32()* @foo
16 define i32 @main(i32 %argc, i8** %argv) {
18 %0 = call i32() @bar()