solidity/test/libsolidity/syntaxTests/unterminatedBlocks/zero_dot_x.sol
2020-01-08 16:12:06 +01:00

6 lines
173 B
Solidity

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