diff options
Diffstat (limited to 'gcc/testsuite/gfortran.dg/char_length_4.f90')
-rw-r--r-- | gcc/testsuite/gfortran.dg/char_length_4.f90 | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/gcc/testsuite/gfortran.dg/char_length_4.f90 b/gcc/testsuite/gfortran.dg/char_length_4.f90 new file mode 100644 index 000000000..13a9b781b --- /dev/null +++ b/gcc/testsuite/gfortran.dg/char_length_4.f90 @@ -0,0 +1,13 @@ +! { dg-do compile } +! tests the fix for PR31540, in which the character lengths in +! parentheses were not resolved. +! +! Contributed by Tobias Burnus <burnus@gcc.gnu.org> +! + subroutine pfb() + implicit none + external pfname1, pfname2 + character ((136)) pfname1 + character ((129+7)) pfname2 + return + end |