simple_interface.sol 286 B

1234567891011
  1. interface IFoo {
  2. function bar(uint32) external pure returns (uint32);
  3. }
  4. contract foo is IFoo {
  5. function bar(uint32 a) public pure returns (uint32) {
  6. return a * 2;
  7. }
  8. }
  9. // ---- Expect: diagnostics ----