parse_structs_01.sol 253 B

123456789
  1. contract test_struct_parsing {
  2. struct Foo {
  3. bool a;
  4. uint storage b;
  5. }
  6. }
  7. // ---- Expect: diagnostics ----
  8. // error: 5:22-29: storage location 'storage' not allowed for struct field