(root)/
gcc-13.2.0/
gcc/
testsuite/
gfortran.dg/
zero_sized_12.f90
! { dg-do compile }
! PR 65248 - this used to ICE. Test case by Tobias Burnus.

program main
  
! C7110  (R770) If type-spec is omitted, each ac-value expression in the
! array-constructor shall have the same declared type and kind type parameters

! Should be fine as there is either no or only one ac-value:
print *, [[integer ::],[real::]]
print *, [[integer ::],[real::], [1], [real ::]]
print *, [[integer ::],[real::], ["ABC"], [real ::]] // "ABC"
print *, [integer :: [integer ::],[real::]]

! OK - accepted
print *, [integer :: [1],[1.0]]
end