Run id: 154049
Main.cc: In function 'int main()':
Main.cc:14:13: error: expected identifier before numeric constant
int max=[1],s=1;
^
Main.cc: In lambda function:
Main.cc:14:15: error: expected '{' before ',' token
int max=[1],s=1;
^
Main.cc: In function 'int main()':
Main.cc:14:15: error: invalid user-defined conversion from 'main()::' to 'int' [-fpermissive]
Main.cc:14:14: note: candidate is: main()::::operator void (*)()() const
int max=[1],s=1;
^
Main.cc:14:14: note: no known conversion from 'void (*)()' to 'int'