2008-07-06 Kai Tietz <kai.tietz@onevision.com>
[official-gcc.git] / gcc / testsuite / gfortran.dg / sibling_dummy_procedure_3.f90
blob21bdceead95f7c63191f020427207bae298264d0
1 ! { dg-do compile }
2 ! This checks the fix for PR 26064
4 ! Contributed by Sven Buijssen <sven.buijssen@math.uni-dortmund.de>
5 module ice
6 implicit none
7 contains
9 subroutine foo()
10 contains
12 subroutine bar(baz)
13 integer, optional :: baz
14 if (present(baz)) then
15 endif
16 end subroutine bar
17 end subroutine foo
18 end module
20 ! { dg-final { cleanup-modules "ice" } }