OSDN Git Service

2005-04-09 Thomas Koenig <Thomas.Koenig@online.de>
authortkoenig <tkoenig@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 9 Apr 2005 19:40:48 +0000 (19:40 +0000)
committertkoenig <tkoenig@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 9 Apr 2005 19:40:48 +0000 (19:40 +0000)
        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

gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/open-options-blanks.f [new file with mode: 0644]

index 0d2afe7..fe7b88e 100644 (file)
@@ -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 (file)
index 0000000..8f5faa4
--- /dev/null
@@ -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