3 ! Code contribute by fxcoudert at gcc dot gnu dot org
4 ! Appears to be fixed by patch for PR fortran/83633
8 pure
integer function foo()
20 integer :: x2(foo()) ! { dg-error "array with nonconstant bounds" }
29 integer :: x4(foo()) ! { dg-error "array with nonconstant bounds" }