unresolved_constants.sol 206 B

12345678910111213
  1. int constant C1 = LEN1;
  2. contract c {
  3. int constant C2 = LEN1;
  4. bool[C1] var1;
  5. bool[C2] var22;
  6. }
  7. // ---- Expect: diagnostics ----
  8. // error: 1:19-23: 'LEN1' not found
  9. // error: 4:20-24: 'LEN1' not found