PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gfortran.dg / sibling_dummy_procedure_3.f90
blob5f1391edb60ebe570e32713b4ce3e7fc236e4d9c
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