diff options
Diffstat (limited to 'gcc/testsuite/gfortran.dg/open-options-blanks.f')
-rw-r--r-- | gcc/testsuite/gfortran.dg/open-options-blanks.f | 9 |
1 files changed, 9 insertions, 0 deletions
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 000000000..4db31b9e3 --- /dev/null +++ b/gcc/testsuite/gfortran.dg/open-options-blanks.f @@ -0,0 +1,9 @@ +! { dg-do run } +! { dg-options "-std=legacy" } +! +! 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 |