t13306.nim 154 B

1234567891011
  1. discard """
  2. errormsg: "'testEpo' can have side effects"
  3. line: 8
  4. """
  5. import times
  6. func testEpo(x: float): float = epochTime() + x
  7. echo testEpo(1.0)