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