aboutsummaryrefslogtreecommitdiff
path: root/Testing/Semantic/t2-2.p
diff options
context:
space:
mode:
Diffstat (limited to 'Testing/Semantic/t2-2.p')
-rw-r--r--Testing/Semantic/t2-2.p6
1 files changed, 6 insertions, 0 deletions
diff --git a/Testing/Semantic/t2-2.p b/Testing/Semantic/t2-2.p
new file mode 100644
index 0000000..efb455b
--- /dev/null
+++ b/Testing/Semantic/t2-2.p
@@ -0,0 +1,6 @@
+(* ERROR: objects must be declared before used in expressions *)
+program main( input, output );
+begin
+ a := 1
+end.
+