Retro68/gcc/gcc/testsuite/gfortran.dg/bind_c_usage_30.f90

7 lines
201 B
Fortran
Raw Normal View History

2018-12-28 15:30:48 +00:00
! { dg-do compile }
! PR 60355 - there was no error message for implicitly typed variables
! Test case contributed by Vladimir Fuka
program main
bind(c) test_BIND ! { dg-error "cannot be BIND" }
END