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

8 lines
125 B
Solidity

error E();
contract C {
E x;
}
// ----
// TypeError 5172: (29-30='E'): Name has to refer to a struct, enum or contract.