Debian Codegraph @

gcc/testsuite/gfortran.dg/pr107821.f90

raw
1 ! { dg-do compile }
2 !
3 ! Contributed by Gerhard Steinmetz <[email protected]>
4 !
5 program p
6 associate (a => 1)
7 print *, [character((a(1))) :: '1'] ! { dg-error "has an array reference" }
8 end associate
9 end