temp2.sol 237 B

12345678910111213
  1. // RUN: --target polkadot --emit cfg
  2. contract c {
  3. event f(bool);
  4. function test() public returns (int32) {
  5. int32 x = 104;
  6. emit f(true);
  7. x = x + 1;
  8. emit f(false);
  9. // CHECK: return int32 105
  10. return x;
  11. }
  12. }