aboutsummaryrefslogtreecommitdiff
path: root/testdata/parse/negation.txt
diff options
context:
space:
mode:
Diffstat (limited to 'testdata/parse/negation.txt')
-rw-r--r--testdata/parse/negation.txt33
1 files changed, 33 insertions, 0 deletions
diff --git a/testdata/parse/negation.txt b/testdata/parse/negation.txt
new file mode 100644
index 0000000..588ca6e
--- /dev/null
+++ b/testdata/parse/negation.txt
@@ -0,0 +1,33 @@
+# Negation tests.
+-- negation1.test --
+-a < 1
+-- negation1.out --
+minus
+ compare <
+ a
+ 1
+-- negation2.test --
+NOT a > 3
+-- negation2.out --
+not
+ compare >
+ a
+ 3
+-- negation3.test --
+-foo=(bar OR baz)
+-- negation3.out --
+minus
+ compare =
+ foo
+ disjunction
+ bar
+ baz
+-- negation4.test --
+NOT foo=(bar OR baz)
+-- negation4.out --
+not
+ compare =
+ foo
+ disjunction
+ bar
+ baz