struct Foo { Foo(const&) {} Foo() {} }; int main() { Foo f1; Foo f2 = f1; }
Standard input is empty
prog.cpp:3:13: error: ISO C++ forbids declaration of ‘parameter’ with no type [-fpermissive]
Foo(const&) {}
^
Standard output is empty