solidity/test/libsolidity/syntaxTests/denominations/invalid_denomination_on_bool.sol

6 lines
113 B
Solidity

contract C {
bool constant x = true ether;
}
// ----
// ParserError 2314: (37-42): Expected ';' but got 'ether'