diff options
Diffstat (limited to 'gcc/testsuite/gfortran.dg')
-rw-r--r-- | gcc/testsuite/gfortran.dg/intent_out_8.f90 | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/gcc/testsuite/gfortran.dg/intent_out_8.f90 b/gcc/testsuite/gfortran.dg/intent_out_8.f90 new file mode 100644 index 0000000..674d833 --- /dev/null +++ b/gcc/testsuite/gfortran.dg/intent_out_8.f90 @@ -0,0 +1,17 @@ +! { dg-do compile } +! { dg-options "-Wall" } +! +! PR 53655: [F03] "default initializer" warnings +! +! Contributed by Tobias Burnus <burnus@gcc.gnu.org> + +type t +end type t + +contains + + subroutine foo(x) + type(t), intent(out) :: x + end subroutine + +end |