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

6 lines
176 B
Solidity

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