original.sol 1.3 KB

12345678910111213141516171819202122232425262728293031323334
  1. contract FunctionCall {
  2. function foo() public pure {
  3. bar(1111111111111111111111111111111111111111111111111111, 111111111111111111111111111111111111111111111111111);
  4. bar(1111111111111111111111111111111111111111111111111112, 1111111111111111111111111111111111111111111111111112);
  5. bar(1111111111111111111111111111111111111111111111111113, 11111111111111111111111111111111111111111111111111113); // the semicolon is not considered when determining line break
  6. bar(1111111111111111111111111111111111111111111111111114, 111111111111111111111111111111111111111111111111111114);
  7. bar(
  8. 111111111111111111111111111111111115, 11111111111111111111111111111111115, 11111111111111111111111111111111115
  9. );
  10. bar(
  11. 111111111111111111111111111111111111111111111111111116, 111111111111111111111111111111111111111111111111111116
  12. );
  13. bar(
  14. 111111111111111111111111111111111111111111111111111117, 1111111111111111111111111111111111111111111111111111117
  15. );
  16. }
  17. function bar(uint256, uint256) private pure {
  18. return;
  19. }
  20. }
  21. function a(uint256 foo) {
  22. foo;
  23. MyContract c = new MyContract(address( 0),hex"beef");
  24. }
  25. function b() {
  26. a( {foo: 5} );
  27. }
  28. contract MyContract {
  29. constructor(address arg, bytes memory data) {}
  30. }