gcc/testsuite/gfortran.dg/argument_checking_25.f90
raw| 1 | ! { dg-do compile } |
| 2 | ! PR fortran/100274 - ICE in gfc_conv_procedure_call, at fortran/trans-expr.c:6131 |
| 3 | |
| 4 | program p |
| 5 | call s('y') ! { dg-warning "Character length of actual argument" } |
| 6 | contains |
| 7 | subroutine s(x) |
| 8 | character(8), intent(out) :: x |
| 9 | end |
| 10 | end |
| 11 | |
| 12 | ! { dg-error "in variable definition context" " " { target *-*-* } 5 } |