solidity/test/libsolidity/syntaxTests/errors/weird3.sol
2021-03-30 21:15:18 +02: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.