restrictions_02.sol 152 B

123456
  1. library c {
  2. fallback() internal {}
  3. }
  4. // ---- Expect: diagnostics ----
  5. // error: 3:13-32: fallback not allowed in a library