aboutsummaryrefslogtreecommitdiff
path: root/Testing/Semantic/t1-5.p
diff options
context:
space:
mode:
Diffstat (limited to 'Testing/Semantic/t1-5.p')
-rw-r--r--Testing/Semantic/t1-5.p11
1 files changed, 11 insertions, 0 deletions
diff --git a/Testing/Semantic/t1-5.p b/Testing/Semantic/t1-5.p
new file mode 100644
index 0000000..d2341d7
--- /dev/null
+++ b/Testing/Semantic/t1-5.p
@@ -0,0 +1,11 @@
+(* ERROR: local objects not defined outside their scopes *)
+program main( input, output );
+ var a: integer;
+ procedure boo(a: integer);
+ var x: integer;
+ begin
+ end;
+begin
+ a := x
+end.
+