tarray_equality.nim 159 B

12345678910111213141516
  1. discard """
  2. output: '''true
  3. true'''
  4. """
  5. # bug #2489
  6. let a = [1]
  7. let b = [1]
  8. echo a == b
  9. # bug #2498
  10. var x: array[0, int]
  11. var y: array[0, int]
  12. echo x == y