summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorarphaman <arphaman@gmail.com>2013-08-21 13:35:26 +0100
committerarphaman <arphaman@gmail.com>2013-08-21 13:35:26 +0100
commitbd8bcb1fdd07e18515626f99e1803ea17d532133 (patch)
tree412ff45aa8eb9fec6f1fb2aaaeef733ffb003760 /test
parentd347afbe0f819584ec68360c54e3b69a11b42e1b (diff)
downloadflang-bd8bcb1fdd07e18515626f99e1803ea17d532133.tar.gz
fixed number followed by defined operator bug
Diffstat (limited to 'test')
-rw-r--r--test/Lexer/numberConstants.f956
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Lexer/numberConstants.f95 b/test/Lexer/numberConstants.f95
index af7774e48c..c899764d4d 100644
--- a/test/Lexer/numberConstants.f95
+++ b/test/Lexer/numberConstants.f95
@@ -20,6 +20,12 @@ PROGRAM constants
if(1.LT.2) then
end if
+ if(1.eq.2) then
+ end if
+
+ if(1.ne.2) then
+ end if
+
X = 1e ! expected-error {{exponent has no digits}}
Y = -2D- ! expected-error {{exponent has no digits}}
END PROGRAM constants