main.cpp 182 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 14 #include "foo.h" struct Main { Main(); int x; }; Main::Main() : x(47) { bool some_code = x == 47; // !BR_main } Main MainObj; int main() { return MainObj.x + FooObj.x; }