solidity/test/libsolidity/syntaxTests/errors/usage_standalone_no_call.sol
2021-02-11 14:18:04 +01:00

8 lines
166 B
Solidity

error E();
function f() pure {
// TODO is it a problem that we do not get an error here?
// we should at least get "statement has no effect"
E;
}
// ----