solidity/test/libsolidity/syntaxTests/errors/weird3.sol
2022-09-28 13:06:25 +02:00

8 lines
146 B
Solidity

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