2 ! { dg-options "-fbounds-check" }
3 ! { dg-shouldfail "Character length mismatch" }
6 ! Test bounds-checking for string length of dummy arguments.
13 CHARACTER(len
=5), OPTIONAL
:: opt
21 CALL test ('') ! 0 length, but not absent argument.
24 ! { dg-output "shorter than the declared one for dummy argument 'opt' \\(0/5\\)" }