int main() { char * p = "abc"; as; return 0; }
Standard input is empty
prog.cpp: In function ‘int main()’:
prog.cpp:3:13: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
char * p = "abc";
^
prog.cpp:4:2: error: ‘as’ was not declared in this scope
as;
^
prog.cpp:3:9: warning: unused variable ‘p’ [-Wunused-variable]
char * p = "abc";
^
Standard output is empty