view gcc/testsuite/gfortran.dg/bind_c_usage_5.f03 @ 118:fd00160c1b76

ifdef TARGET_64BIT
author mir3636
date Tue, 27 Feb 2018 15:01:35 +0900
parents 04ced10e8804
children
line wrap: on
line source

! { 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