struct foo{ foo() {} foo(int i){} }; struct bar{ foo obj; foo obj2(10); };
Standard input is empty
prog.cpp:8: error: expected identifier before numeric constant prog.cpp:8: error: expected ‘,’ or ‘...’ before numeric constant
Standard output is empty