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

10 lines
187 B
Solidity

error E();
contract C {
function f() public pure {
E x;
}
}
// ----
// TypeError 5172: (64-65): Name has to refer to a user-defined value type, struct, enum or contract.