solidity/test/libsolidity/syntaxTests/errors/weird3.sol
2021-02-11 14:10:40 +01:00

8 lines
121 B
Solidity

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