1 2 3 4 5 6 7
contract C { // Fool parser into parsing a constructor as a function type. constructor() public x; } // ---- // SyntaxError: (83-106): Functions without implementation cannot have modifiers. // DeclarationError: (104-105): Undeclared identifier.