[ERROR]
Non-standard error!
void main() {
struct A {
void f() {}
};
}
The function definitions must always be in the global scope.
void main(void) {
struct A {
void f();
};
}
void A::f(void) {
// function definition in global scope
}