aboutsummaryrefslogtreecommitdiff
path: root/testdata/parse/negation.txt
blob: 588ca6e3e3fdb71222c0a2c87d8f68e3e19911aa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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