llvm-project/compiler-rt/test/asan/TestCases/Helpers/initialization-nobug-extra.cc

10 lines
258 B
C++

// Linker initialized:
int getAB();
static int ab = getAB();
// Function local statics:
int countCalls();
static int one = countCalls();
// Trivial constructor, non-trivial destructor:
int getStructWithDtorValue();
static int val = getStructWithDtorValue();