diff options
Diffstat (limited to 'gcc/testsuite/gfortran.dg/parens_4.f90')
-rw-r--r-- | gcc/testsuite/gfortran.dg/parens_4.f90 | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gcc/testsuite/gfortran.dg/parens_4.f90 b/gcc/testsuite/gfortran.dg/parens_4.f90 new file mode 100644 index 000000000..1678ce74a --- /dev/null +++ b/gcc/testsuite/gfortran.dg/parens_4.f90 @@ -0,0 +1,12 @@ +! { dg-do compile } +! Fallout from the patch for PR 14771 +! Testcase by Erik Zeek +program test + call bob(5) +contains + subroutine bob(n) + integer, intent(in) :: n + character(len=n) :: temp1 + character(len=(n)) :: temp2 ! Fails here + end subroutine bob +end program test |