forked from OSchip/llvm-project
7 lines
149 B
C++
7 lines
149 B
C++
|
// 'z' is dynamically initialized global from different TU.
|
||
|
extern int z;
|
||
|
int __attribute__((noinline)) initY() {
|
||
|
return z + 1;
|
||
|
}
|
||
|
int y = initY();
|