arm: Add .type and .size to __gnu_cmse_nonsecure_call [PR115360]
[official-gcc.git] / gcc / testsuite / gfortran.dg / bind_c_usage_26.f90
blob20a68d1af24eab73b530ff9454d86c20052dc306
1 ! { dg-do compile }
3 ! PR fortran/53985
5 ! Check that the (default) -Wno-c-binding-type works
6 ! and no warning is printed.
8 ! With -Wc-binding-type, one gets:
9 ! Warning: Variable 'x' at (1) is a dummy argument to the BIND(C) procedure
10 ! 'test' but may not be C interoperable )
12 subroutine test(x) bind(C)
13 integer :: x
14 end subroutine test