fork download
  1. void f()
  2. {
  3. [ ] ( struct A { A ( ) = default ; A(const A&) = delete; } * ) { return 0 ; } (
  4. 0 ) ;
  5. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp: In function ‘void f()’:
prog.cpp:3:16: error: types may not be defined in parameter types
g++-4.7: internal compiler error: Segmentation fault (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.7/README.Bugs> for instructions.
stdout
Standard output is empty