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

6 lines
107 B
Solidity

contract C {
string s = "abc" ether;
}
// ----
// ParserError 2314: (31-36): Expected ';' but got 'ether'