Fix compilation failure with C++98 compilers
[official-gcc.git] / gcc / testsuite / gfortran.dg / bind_c_usage_20.f90
blob0a6fa9e9afd6fdb01333b02eb1f946feae2c591f
1 ! { dg-do compile }
2 ! { dg-options "-fcheck=bounds" }
4 ! PR fortran/43015
6 ! Contributed by Dennis Wassel
8 SUBROUTINE foo(msg) BIND(C, name = "Foo")
9 USE, INTRINSIC :: iso_c_binding
10 IMPLICIT NONE
11 CHARACTER (KIND=C_CHAR), INTENT (out) :: msg(*)
12 END SUBROUTINE foo