Files
clang-p2996/compiler-rt/test/asan/TestCases/Helpers/initialization-bug-extra2.cc
Alexey Samsonov 9f20d67034 Move ASan lit-tests under test/asan
llvm-svn: 201413
2014-02-14 14:06:10 +00:00

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