annotate gcc/testsuite/gfortran.dg/binding_label_tests_8.f03 @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children 84e7813d76e9
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 ! { dg-do compile }
kono
parents:
diff changeset
2 module binding_label_tests_8
kono
parents:
diff changeset
3 use, intrinsic :: iso_c_binding, only: c_int
kono
parents:
diff changeset
4 integer(c_int), bind(c, name='my_f90_sub') :: my_c_int ! { dg-error "Variable my_c_int with binding label my_f90_sub at .1. uses the same global identifier as entity at .2." }
kono
parents:
diff changeset
5
kono
parents:
diff changeset
6 contains
kono
parents:
diff changeset
7 subroutine my_f90_sub() bind(c) ! { dg-error "Variable my_c_int with binding label my_f90_sub at .1. uses the same global identifier as entity at .2." }
kono
parents:
diff changeset
8 end subroutine my_f90_sub
kono
parents:
diff changeset
9 end module binding_label_tests_8