diff options
Diffstat (limited to 'gcc/testsuite/gfortran.dg/whole_file_28.f90')
-rw-r--r-- | gcc/testsuite/gfortran.dg/whole_file_28.f90 | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gcc/testsuite/gfortran.dg/whole_file_28.f90 b/gcc/testsuite/gfortran.dg/whole_file_28.f90 new file mode 100644 index 000000000..78c848e40 --- /dev/null +++ b/gcc/testsuite/gfortran.dg/whole_file_28.f90 @@ -0,0 +1,12 @@ +! { dg-do compile } +! Test the fix for the problem described in PR45077 comments #4 and #5. +! Note that the module file is kept for whole_file_29.f90 +! +! Contributed by Tobias Burnus <burnus@gcc.gnu.org> +! +module iso_red + type, public :: varying_string + character(LEN=1), dimension(:), allocatable :: chars + end type varying_string +end module iso_red +! DO NOT CLEAN UP THE MODULE FILE - whole_file_29.f90 does it. |