diff options
Diffstat (limited to 'compiler-rt/lib/asan/lit_tests/Helpers/initialization-bug-extra.cc')
| -rw-r--r-- | compiler-rt/lib/asan/lit_tests/Helpers/initialization-bug-extra.cc | 5 | 
1 files changed, 5 insertions, 0 deletions
| diff --git a/compiler-rt/lib/asan/lit_tests/Helpers/initialization-bug-extra.cc b/compiler-rt/lib/asan/lit_tests/Helpers/initialization-bug-extra.cc new file mode 100644 index 00000000000..3c4cb411def --- /dev/null +++ b/compiler-rt/lib/asan/lit_tests/Helpers/initialization-bug-extra.cc @@ -0,0 +1,5 @@ +// This file simply declares a dynamically initialized var by the name of 'y'. +int initY() { +  return 5; +} +int y = initY(); | 

