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/] [c_ptr_tests_13.f03] - Rev 302
Compare with Previous | Blame | View Log
! { dg-do compile }! Ensure that the user cannot call the structure constructor for one of! the iso_c_binding derived types.!! PR fortran/33760!program mainuse ISO_C_BINDINGimplicit noneinteger(C_INTPTR_T) ptype(C_PTR) cptrp = 0cptr = C_PTR(p+1) ! { dg-error "Components of structure constructor" }cptr = C_PTR(1) ! { dg-error "Components of structure constructor" }end program main
