solidity/test/libsolidity/syntaxTests/errors/weird4.sol
2022-04-01 23:41:18 -05:00

10 lines
166 B
Solidity

error E();
contract C {
function f() public pure {
E x;
}
}
// ----
// TypeError 5172: (64-65='E'): Name has to refer to a struct, enum or contract.