solidity/test/libsolidity/syntaxTests/literalSuffixes/usableAsSuffix/invalid_revert_as_suffix.sol

8 lines
159 B
Solidity

contract C {
function f() pure public {
1 revert;
}
}
// ----
// TypeError 2144: (54-60): No matching declaration found after variable lookup.