test_interface_07.sol 176 B

1234567
  1. interface bar {
  2. int x;
  3. }
  4. // ---- Expect: diagnostics ----
  5. // error: 3:13-18: interface 'bar' is not allowed to have contract variable 'x'