diff options
author | Ganesh Viswanathan <dev@genotrance.com> | 2018-09-12 12:00:01 -0500 |
---|---|---|
committer | Ganesh Viswanathan <dev@genotrance.com> | 2018-09-12 12:00:01 -0500 |
commit | 9b2115558b0146979503a40cb8fbe5722ba262ab (patch) | |
tree | bca0c613a3139a231d98cc626dc4fe87fe8575bb /tests/seq | |
parent | 8f046792cf30c01cf03d687069baa36b837c62dc (diff) | |
download | Nim-9b2115558b0146979503a40cb8fbe5722ba262ab.tar.gz |
Test cases for #6969 #7346 #7581
Diffstat (limited to 'tests/seq')
-rw-r--r-- | tests/seq/t7346.nim | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/seq/t7346.nim b/tests/seq/t7346.nim new file mode 100644 index 000000000..ef2fd5b79 --- /dev/null +++ b/tests/seq/t7346.nim @@ -0,0 +1,10 @@ +when not defined(nimNewRuntime): + {.error: "This bug could only be reproduced with --newruntime".} + +type + Obj = object + a: int + +proc `=`(a: var Obj, b: Obj) = discard + +let a: seq[Obj] = @[] \ No newline at end of file |