solidity/test/libsolidity/syntaxTests/nameAndTypeResolution/428_bare_revert.sol

9 lines
186 B
Solidity
Raw Normal View History

contract C {
function f(uint x) pure public {
if (x > 7)
revert;
}
}
// ----
// TypeError 2144: (81-87): No matching declaration found after variable lookup.