android_mt6572_jiabo/external/compiler-rt/test/asan/TestCases/Helpers/initialization-bug-extra2.cc
2025-09-05 16:56:03 +08:00

6 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();