aboutsummaryrefslogtreecommitdiff
path: root/Testing/Semantic/t1-2a.p
diff options
context:
space:
mode:
authorTucker Evans <tuckerevans24@gmail.com>2019-09-29 21:30:48 -0400
committerTucker Evans <tuckerevans24@gmail.com>2019-09-29 21:35:19 -0400
commitd6b038578577f7c0f4eeb95e35e6a2113e6d9732 (patch)
tree68609b4f92b701a0d1363c4905d0929018d3923b /Testing/Semantic/t1-2a.p
parent82dc3cf8d980b010a1cf2e3ac1c438c1412a21f8 (diff)
parent4f66397e285f7742bdf5bfd9f723e10104486ce2 (diff)
Merge branch 'master' of git.tuckerevans.com:/srv/git/private/pascal_compiler
Fix white space at end of lines in Testing files
Diffstat (limited to 'Testing/Semantic/t1-2a.p')
-rw-r--r--Testing/Semantic/t1-2a.p12
1 files changed, 12 insertions, 0 deletions
diff --git a/Testing/Semantic/t1-2a.p b/Testing/Semantic/t1-2a.p
new file mode 100644
index 0000000..a81cad2
--- /dev/null
+++ b/Testing/Semantic/t1-2a.p
@@ -0,0 +1,12 @@
+(* LEGAL: local names should hide non-local names *)
+program main( input, output );
+ var a,b: integer;
+ procedure boo(a: integer);
+ var b: real;
+ begin
+ b := 1.23
+ end;
+begin
+ boo(b)
+end.
+