2015-09-24 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git] / gcc / testsuite / gfortran.dg / unlimited_polymorphic_16.f90
blob99e186d5c14937cf6c219033aadda2f98d295e37
1 ! { dg-do compile }
3 ! PR 60359: [OOP] symbol `__io_MOD___copy_character_1' is already defined
5 ! Contributed by Antony Lewis <antony@cosmologist.info>
7 module IO
8 implicit none
10 contains
12 subroutine FWRite(S)
13 class(*) :: S
14 end subroutine
16 subroutine IO_OutputMargeStats()
17 character(len=128) tag
18 call FWrite(tag)
19 call FWrite(' '//tag)
20 end subroutine
22 end module
24 ! { dg-final { cleanup-modules "IO" } }