summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2002-04-16 16:15:19 +0000
committerMarc Espie <espie@cvs.openbsd.org>2002-04-16 16:15:19 +0000
commit1c09461028abdf33e0e8c5b67693ca1e8cd2fdb3 (patch)
tree1ec9a1009d174291ad54b2f00f479965ebd00edd
parent7bc61055c1fe6b606358b09151199e27ede09983 (diff)
Another test case: this one holds too many open conditionals, and exactly enough
closes...
-rw-r--r--regress/usr.bin/make/mk1814
1 files changed, 14 insertions, 0 deletions
diff --git a/regress/usr.bin/make/mk18 b/regress/usr.bin/make/mk18
new file mode 100644
index 00000000000..59fecb5d011
--- /dev/null
+++ b/regress/usr.bin/make/mk18
@@ -0,0 +1,14 @@
+# $OpenBSD: mk18,v 1.1 2002/04/16 16:15:18 espie Exp $
+# Bug in the cond parsing code
+
+TEST=Yes
+.for i in 0 1 2 3 4 5 6 7
+. for j in 0 1 2 3 4 5 6
+. if TEST
+. endfor
+.endfor
+.for i in 0 1 2 3 4
+. for j in 0 1 2 3 4 5
+. endif
+. endfor
+.endfor