summaryrefslogtreecommitdiff
path: root/test/Parser
diff options
context:
space:
mode:
authorarphaman <arphaman@gmail.com>2013-09-20 14:41:48 +0100
committerarphaman <arphaman@gmail.com>2013-09-20 14:41:48 +0100
commitf87f0988b80f3a886d7b93d93d6e31ecd15b8f01 (patch)
treee205e6c5476d1010530eb313a17d3f7e1a58e08f /test/Parser
parent3301ccafdd158300c5f5db5a1c5e24056ec734ff (diff)
downloadflang-f87f0988b80f3a886d7b93d93d6e31ecd15b8f01.tar.gz
added support for common block SAVE
Diffstat (limited to 'test/Parser')
-rw-r--r--test/Parser/common.f956
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Parser/common.f95 b/test/Parser/common.f95
index 003d4ec6e8..9477d63916 100644
--- a/test/Parser/common.f95
+++ b/test/Parser/common.f95
@@ -13,3 +13,9 @@ program test
common ! expected-error {{expected identifier}}
end program
+
+subroutine sub1
+ integer i
+ common /a/i
+ save /a/
+end