PR tree-optimization/86415 - strlen() not folded for substrings within constant arrays
[official-gcc.git] / gcc / testsuite / gfortran.fortran-torture / execute / der_init_4.f90
blobd6942a2d08fa82432b5a802539a1797f263a4eca
1 ! PR13930
2 ! We were trying to assign a default initializer to dummy variables.
3 program der_init_4
4 type t
5 integer :: i = 42
6 end type
8 call foo(t(5))
9 contains
10 subroutine foo(a)
11 type (t), intent(in) :: a
13 if (a%i .ne. 5) STOP 1
14 end subroutine
15 end program