xref: /aosp_15_r20/external/compiler-rt/test/asan/TestCases/Helpers/initialization-bug-extra.cc (revision 7c3d14c8b49c529e04be81a3ce6f5cc23712e4c6)
1*7c3d14c8STreehugger Robot // This file simply declares a dynamically initialized var by the name of 'y'.
initY()2*7c3d14c8STreehugger Robot int initY() {
3*7c3d14c8STreehugger Robot   return 5;
4*7c3d14c8STreehugger Robot }
5*7c3d14c8STreehugger Robot int y = initY();
6