summaryrefslogtreecommitdiff
path: root/Test/test0/WhereParsing2.bpl
diff options
context:
space:
mode:
Diffstat (limited to 'Test/test0/WhereParsing2.bpl')
-rw-r--r--Test/test0/WhereParsing2.bpl2
1 files changed, 2 insertions, 0 deletions
diff --git a/Test/test0/WhereParsing2.bpl b/Test/test0/WhereParsing2.bpl
new file mode 100644
index 00000000..d85287f3
--- /dev/null
+++ b/Test/test0/WhereParsing2.bpl
@@ -0,0 +1,2 @@
+const x: int where x < 0; // error: where clauses not allowed on constants
+