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