1 ; RUN: llvm-upgrade < %s | llvm-as | opt -globalopt | llvm-dis | not grep malloc
3 %G = internal global int* null
6 %P = malloc int, uint 100
7 store int* %P, int** %G
10 %GVe = getelementptr int* %GV, int 40
11 store int 20, int* %GVe
17 %GVe = getelementptr int* %GV, int 40
22 bool %check() { ;; Return true if init has been called
24 %V = seteq int* %GV, null