summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortkoenig <tkoenig@138bc75d-0d04-0410-961f-82ee72b054a4>2005-04-09 19:40:48 +0000
committertkoenig <tkoenig@138bc75d-0d04-0410-961f-82ee72b054a4>2005-04-09 19:40:48 +0000
commit018f5cc25aa2b970849fb0f62a9e144b52f418b5 (patch)
tree272bfba5171d348a0dada198de505fb93bb09a44
parenta7041de96eb2011e5bbb501e33c2e867f4c639ef (diff)
downloadgcc-018f5cc25aa2b970849fb0f62a9e144b52f418b5.tar.gz
2005-04-09 Thomas Koenig <Thomas.Koenig@online.de>
PR libfortran/20163 * gfortran.dg/open-options-blanks.f: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97924 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/gfortran.dg/open-options-blanks.f7
2 files changed, 12 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 0d2afe783b7..fe7b88ea7ac 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2005-04-09 Thomas Koenig <Thomas.Koenig@online.de>
+
+ PR libfortran/20163
+ * gfortran.dg/open-options-blanks.f: New test.
+
2005-04-09 Andrew Pinski <pinskia@physics.uc.edu>
PR fortran/13257
diff --git a/gcc/testsuite/gfortran.dg/open-options-blanks.f b/gcc/testsuite/gfortran.dg/open-options-blanks.f
new file mode 100644
index 00000000000..8f5faa41629
--- /dev/null
+++ b/gcc/testsuite/gfortran.dg/open-options-blanks.f
@@ -0,0 +1,7 @@
+! { dg-do run }
+! PR 20163, first half: Trailing blanks on an option to
+! open used to cause an error
+ CHARACTER*8 ST
+ ST = 'SCRATCH '
+ OPEN(UNIT=10,STATUS=ST)
+ END