t5345.nim 135 B

1234567891011
  1. discard """
  2. output: true
  3. """
  4. proc cmpx(d: int): bool {.inline.} = d > 0
  5. proc abc[C](cx: C, d: int) =
  6. echo cx(d)
  7. abc(cmpx, 10)