rt_gccstream/gcc/testsuite/gfortran.dg/array_constructor_3.f90

6 lines
157 B
Fortran

! { dg-do compile }
! Check that empty array constructors are rejected
program hum
print *, (//) { dg-error "Empty array constructor" }
end program hum