Skip to content

Commit

Permalink
Added additional test file for solidity
Browse files Browse the repository at this point in the history
  • Loading branch information
codeFather2 committed Sep 24, 2024
1 parent 0e55a74 commit 0d9c236
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions solidity/examples/small_test.sol
Original file line number Diff line number Diff line change
@@ -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;
}
}
}

0 comments on commit 0d9c236

Please sign in to comment.