prog.cpp: In function ‘int main()’:
prog.cpp:7:14: error: expected ‘}’ before ‘;’ token
a = { b = 10; };
^
prog.cpp:7:14: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 [enabled by default]
prog.cpp:5:12: warning: unused variable ‘c’ [-Wunused-variable]
int a, b, c;
^
prog.cpp: At global scope:
prog.cpp:8:2: error: expected unqualified-id before ‘return’
return 0;
^
prog.cpp:9:1: error: expected declaration before ‘}’ token
}
^