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