aboutsummaryrefslogtreecommitdiff
path: root/tests/if-else/buildfile
diff options
context:
space:
mode:
Diffstat (limited to 'tests/if-else/buildfile')
-rw-r--r--tests/if-else/buildfile17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/if-else/buildfile b/tests/if-else/buildfile
index 30da40f..2b87b8c 100644
--- a/tests/if-else/buildfile
+++ b/tests/if-else/buildfile
@@ -106,6 +106,23 @@ if! $f
./:
+# With eval context.
+#
+if (foo == foo)
+{
+ print 1
+}
+
+if(foo != bar)
+{
+ print 1
+}
+
+if!(foo == bar)
+{
+ print 1
+}
+
# EOF test.
#
if true