xref: /aosp_15_r20/external/compiler-rt/test/asan/TestCases/Helpers/initialization-bug-extra2.cc (revision 7c3d14c8b49c529e04be81a3ce6f5cc23712e4c6)
1 // 'z' is dynamically initialized global from different TU.
2 extern int z;
initY()3 int __attribute__((noinline)) initY() {
4   return z + 1;
5 }
6 int y = initY();
7