summary refs log tree commit diff stats
path: root/tests/borrow
Commit message (Expand)AuthorAgeFilesLines
* made some tests greenAraq2014-08-311-1/+1
* new tester; all tests categorizedAraq2014-01-132-0/+38
/a> 16 17 18 19 20 21
discard """
  output: '''false'''
"""

when false:
  import typetraits

  proc `@`[T: SomeInteger](x, y: T): T = x

  echo(type(5'i64 @ 6'i32))

  echo(type(5'i32 @ 6'i64))

import sets
# bug #7247
type
  n8 = range[0'i8..127'i8]

var tab = initSet[n8]()

echo tab.contains(8)