URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gfortran.dg/] [binding_label_tests_15.f03] - Rev 302
Compare with Previous | Blame | View Log
! { dg-do compile }! Verify that an error is correctly reported if multiple identifiers are given! with a bind(c) statement that has a NAME= specifier.module muse iso_c_bindingimplicit noneinteger(c_int), bind(C, name="") :: a,b ! { dg-error "Multiple identifiers" }integer(c_int), bind(C, name="bob") :: c,d ! { dg-error "Multiple identifiers" }integer(c_int) :: e,fbind(c, name="foo") :: e,f ! { dg-error "Multiple identifiers" }end module m
