aboutsummaryrefslogtreecommitdiff
path: root/Testing/Semantic/t1-4.p
diff options
context:
space:
mode:
Diffstat (limited to 'Testing/Semantic/t1-4.p')
-rw-r--r--Testing/Semantic/t1-4.p13
1 files changed, 13 insertions, 0 deletions
diff --git a/Testing/Semantic/t1-4.p b/Testing/Semantic/t1-4.p
new file mode 100644
index 0000000..420bdcb
--- /dev/null
+++ b/Testing/Semantic/t1-4.p
@@ -0,0 +1,13 @@
+(* LEGAL: scope of the name of subprograms *)
+program main( input, output );
+ procedure boo;
+ procedure foo;
+ begin
+ end;
+ begin
+ foo
+ end;
+begin
+ boo
+end.
+