summaryrefslogtreecommitdiff
path: root/test/Parser
diff options
context:
space:
mode:
authorarphaman <arphaman@gmail.com>2013-07-21 15:33:52 +0100
committerarphaman <arphaman@gmail.com>2013-07-21 15:34:30 +0100
commit152a6a5b29f9460a68dbdf98f4f634a4c691e1d1 (patch)
tree6c706ba7d7d4eee6178e8a82db37e7c2568690da /test/Parser
parenteb2fc4f3d69ca1a82b295c25c3b9e2d8f8a4cd95 (diff)
downloadflang-152a6a5b29f9460a68dbdf98f4f634a4c691e1d1.tar.gz
improved fixed form identifier lexing
Diffstat (limited to 'test/Parser')
-rw-r--r--test/Parser/expressions.f954
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Parser/expressions.f95 b/test/Parser/expressions.f95
index 4ffafd93e3..1573ff7dca 100644
--- a/test/Parser/expressions.f95
+++ b/test/Parser/expressions.f95
@@ -26,7 +26,11 @@ PROGRAM expressions
x = x
x = (x)
+ x = ( 2 () 3 ! expected-error {{expected ')'}}
+ x = (1, ) ! expected-error {{expected an expression}}
x = (3 ! expected-error {{expected ')'}}
+
x = ! expected-error {{expected an expression after '='}}
+
x = A ! expected-error {{use of undeclared identifier 'a'}}
ENDPROGRAM expressions