diff --git a/solidity/examples/small_test.sol b/solidity/examples/small_test.sol new file mode 100644 index 0000000000..fb2b1c3fc5 --- /dev/null +++ b/solidity/examples/small_test.sol @@ -0,0 +1,8 @@ +pragma solidity >=0.7.0 <0.9.0; +contract Ballot { + function x(address to) external{ + while (foo[to].delegate != address(0)) { //parser ambiguity in the condition + to = foo[to].delegate; + } + } +} \ No newline at end of file