summary refs log tree commit diff stats
path: root/tests/assert/t21195.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/assert/t21195.nim')
-rw-r--r--tests/assert/t21195.nim6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/assert/t21195.nim b/tests/assert/t21195.nim
new file mode 100644
index 000000000..b690d22a0
--- /dev/null
+++ b/tests/assert/t21195.nim
@@ -0,0 +1,6 @@
+discard """
+  matrix: "--verbosity:0 --os:standalone --mm:none"
+"""
+# bug #21195
+var n = 11
+assert(n == 12)