summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/typ/compiler/ops-prec.typ4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/typ/compiler/ops-prec.typ b/tests/typ/compiler/ops-prec.typ
index 2fa90382..e243a640 100644
--- a/tests/typ/compiler/ops-prec.typ
+++ b/tests/typ/compiler/ops-prec.typ
@@ -24,6 +24,10 @@
#{-not true}
---
+// Not in handles precedence.
+#test(-1 not in (1, 2, 3), true)
+
+---
// Parentheses override precedence.
#test((1), 1)
#test((1+2)*-3, -9)