solidity/test/libsolidity/syntaxTests/errors/weird3.sol

8 lines
121 B
Solidity
Raw Normal View History

2021-01-28 11:56:22 +00:00
error E();
contract C {
E x;
}
// ----
// TypeError 5172: (29-30): Name has to refer to a struct, enum or contract.