c: Fix up pointer types to may_alias structures [PR114493]
[official-gcc.git] / gcc / testsuite / gfortran.dg / pr108527.f90
blob804514810acd4dd761919ee4a15447188789bbde
1 ! { dg-do compile }
2 ! PR fortran/108527 - ICE in compare_bound_int
3 ! Contributed by G.Steinmetz
5 program p
6 integer, parameter :: a((2.)) = [4,8] ! { dg-error "must be of INTEGER type" }
7 integer(a(1:1)) :: b ! { dg-error "Unclassifiable statement" }
8 end
10 ! { dg-prune-output "Parameter array" }