diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/Expr/Parser/TypeChecking.pc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/Expr/Parser/TypeChecking.pc b/test/Expr/Parser/TypeChecking.pc new file mode 100644 index 00000000..4633313d --- /dev/null +++ b/test/Expr/Parser/TypeChecking.pc @@ -0,0 +1,9 @@ +# RUN: not %kleaver %s 2> %t.log + + + +# RUN: grep "TypeChecking.pc:6:9: error: type widths do not match in binary expression" %t.log +(query [(Eq (ReadLSB w32 0 arr1) true)] + false) + +# RUN: grep "TypeChecking.pc: parse failure: 1 errors." %t.log |