aboutsummaryrefslogtreecommitdiff
path: root/old-tests/if-else/buildfile
diff options
context:
space:
mode:
Diffstat (limited to 'old-tests/if-else/buildfile')
-rw-r--r--old-tests/if-else/buildfile9
1 files changed, 9 insertions, 0 deletions
diff --git a/old-tests/if-else/buildfile b/old-tests/if-else/buildfile
index 25fabf0..16a49fb 100644
--- a/old-tests/if-else/buildfile
+++ b/old-tests/if-else/buildfile
@@ -148,6 +148,15 @@ if true
else
print 1
+# Brace ambiguity.
+#
+if false
+ {dir}{.}: x = 0
+else
+ {dir}{.}: x = 1
+
+print $(dir{.}:x)
+
# EOF test.
#
./: