2 ! PR fortran/34402 - allocatable components shall not be
3 ! data-initialized in init expr
6 real, allocatable :: x(:)
9 ! The following is illegal!
10 type (t) :: bad = t ( (/ 1., 3., 5., 7., 9. /) ) ! { dg-error "Invalid initialization expression" }
13 type (t) :: ok = t ( NULL() )