using_02.sol 296 B

123456789101112
  1. library x {
  2. function max(uint64 a, uint64 b) private pure returns (uint64) {
  3. return a > b ? a : b;
  4. }
  5. }
  6. contract c {
  7. using x for asdf;
  8. }
  9. // ---- Expect: diagnostics ----
  10. // error: 9:25-29: type 'asdf' not found