Author
anonymous
about 5 years ago
Language
Compiler
Options
Author
anonymous
about 5 years ago
$
prog.cc:3:12: error: expected '{' before '::' token
namespace x::y {
^
prog.cc:3:14: error: 'y' in namespace '::' does not name a type
namespace x::y {
^
prog.cc: In function 'int x::main()':
prog.cc:10:8: error: 'x::y' has not been declared
x::y::foo();
^
prog.cc: At global scope:
prog.cc:12:1: error: expected '}' at end of input
}
^
Exit Code:
1