1 ; Check that we can execute a program that makes a single reference to an
2 ; external linkage global variable that is initialized to a non-zero value.
4 ; Failure may indicate a problem with data-section or GOT handling.
10 define i32 @main(i32 %argc, i8** %argv) {
12 %0 = load i32, i32* @X
13 %1 = icmp ne i32 %0, 1
14 %2 = zext i1 %1 to i32