1 2 3 4 5 6 7 8 9
contract test { modifier mod() { _; } function f() public { mod g; } } // ---- // TypeError: (77-80): Name has to refer to a struct, enum or contract.