Debian Codegraph @

gcc/testsuite/gfortran.dg/oldstyle_3.f90

raw
1 ! { dg-do compile }
2 ! Suppress the warning about an old-style initializer;
3 ! { dg-options "" }
4 ! This tests the fix for PR29052 in which the error below would cause a seg-fault
5 ! because the locus of the initializer was never set.
6 !
7 ! Contributed by Bud Davis <[email protected]>
8 !
9 character*10 a(4,2) /'aaa','bbb','ccc','ddd'/ ! { dg-error "more variables than values" }
10 end