summary refs log tree commit diff stats
path: root/tests/reject/tind1.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/reject/tind1.nim')
-rw-r--r--tests/reject/tind1.nim27
1 files changed, 0 insertions, 27 deletions
diff --git a/tests/reject/tind1.nim b/tests/reject/tind1.nim
deleted file mode 100644
index e14de09ce..000000000
--- a/tests/reject/tind1.nim
+++ /dev/null
@@ -1,27 +0,0 @@
-discard """
-  line: 24
-  errormsg: "invalid indentation"
-"""
-
-import macros
-
-# finally optional indentation in 'if' expressions :-):
-var x = if 4 != 5:
-    "yes"
-  else:
-    "no"
-
-macro mymacro(n: expr): expr = result = n[1][0]
-
-mymacro:
-  echo "test"
-else:
-  echo "else part"
-  
-
-if 4 == 3:
-  echo "bug"
-  else:
-  echo "no bug"
-
-