2 ! { dg-options "-fbounds-check" }
3 ! { dg-shouldfail "foo" }
6 ! Check correct bounds-checking behaviour for character-array-constructors.
8 call test ("short", "also5")
11 character(len
=*) :: r
, s
12 character(len
=128) :: arr(3)
13 arr
= (/ r
, s
, "this is too long" /)
16 ! { dg-output "Different CHARACTER lengths \\(5/16\\) in array constructor" }