solidity/test/libsolidity/syntaxTests/errors/weird_name.sol
2021-04-28 11:12:43 +02:00

9 lines
171 B
Solidity

error error(uint a);
contract C {
function f() public pure {
revert error(2);
}
}
// ----
// ParserError 2314: (6-11): Expected identifier but got 'error'