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
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!