initialization-nobug-extra.cpp 258 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 // 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();