diff options
Diffstat (limited to 'gcc/testsuite/gfortran.dg/bind_c_usage_30.f90')
-rw-r--r-- | gcc/testsuite/gfortran.dg/bind_c_usage_30.f90 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/testsuite/gfortran.dg/bind_c_usage_30.f90 b/gcc/testsuite/gfortran.dg/bind_c_usage_30.f90 new file mode 100644 index 00000000000..932d38edd30 --- /dev/null +++ b/gcc/testsuite/gfortran.dg/bind_c_usage_30.f90 @@ -0,0 +1,6 @@ +! { 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 |