summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/bind_c_usage_5.f03
blob: 95afa010fb1dd6133e761fdd7648471e1da06268 (plain)
1
2
3
4
5
6
7
8
! { dg-do compile }
module bind_c_usage_5
use, intrinsic :: iso_c_binding

bind(c) c3, c4 
integer(c_int), bind(c) :: c3 ! { dg-error "Duplicate BIND attribute" }
integer(c_int) :: c4
end module bind_c_usage_5