PR target/83368
[official-gcc.git] / gcc / testsuite / gfortran.dg / char_conversion.f90
blob7120a1c6baa4de8756e207a947f5f7dd5bf99e03
1 ! { dg-do compile }
3 ! PR 78618: ICE in gfc_check_rank, at fortran/check.c:3670
5 ! Contributed by Gerhard Steinmetz <gerhard.steinmetz.fortran@t-online.de>
7 program p
8 character, parameter :: c = char(256,4) ! { dg-error "cannot be converted" }
9 if (rank(c) /= 0) call abort
10 end