solidity/test/libsolidity/syntaxTests/unterminatedBlocks/one_dot_x.sol

6 lines
176 B
Solidity

contract test {
function f() pure public { 1.x; }
}
// ----
// TypeError 9582: (47-50): Member "x" not found or not visible after argument-dependent lookup in int_const 1.