Menu

#39 Missing compiler error: declared but undefined function

open
nobody
5
2012-04-19
2012-04-19
No

The following code is accepted by the XL compiler:

abstract class A
{
void f();
}

This should result in a compiler error, because f() is not defined but also not declared abstract.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB