aboutsummaryrefslogtreecommitdiff
path: root/check/type/bool/fail-and.p
diff options
context:
space:
mode:
Diffstat (limited to 'check/type/bool/fail-and.p')
-rw-r--r--check/type/bool/fail-and.p7
1 files changed, 7 insertions, 0 deletions
diff --git a/check/type/bool/fail-and.p b/check/type/bool/fail-and.p
new file mode 100644
index 0000000..124de1f
--- /dev/null
+++ b/check/type/bool/fail-and.p
@@ -0,0 +1,7 @@
+
+program main ( input, output );
+ var a: integer;
+begin
+ a := 1;
+ (a = 1) and 1
+end.