aboutsummaryrefslogtreecommitdiff
path: root/check/type/arrray/fail-int.p
diff options
context:
space:
mode:
Diffstat (limited to 'check/type/arrray/fail-int.p')
-rw-r--r--check/type/arrray/fail-int.p5
1 files changed, 5 insertions, 0 deletions
diff --git a/check/type/arrray/fail-int.p b/check/type/arrray/fail-int.p
new file mode 100644
index 0000000..672f798
--- /dev/null
+++ b/check/type/arrray/fail-int.p
@@ -0,0 +1,5 @@
+program main ( input, output );
+ var a: array [1..10] of integer;
+begin
+ a[3] := 1.1
+end.