Commit 000fd5b1 by Francois-Xavier Coudert Committed by François-Xavier Coudert

re PR fortran/38829 (Bogus BIND(C) error message)

	PR fortran/38829
	* gfortran.dg/bind_c_usage_29.f90: New file.

From-SVN: r211354
parent 89a862b4
2014-06-07 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
PR fortran/38829
* gfortran.dg/bind_c_usage_29.f90: New file.
2014-06-07 Eric Botcazou <ebotcazou@adacore.com> 2014-06-07 Eric Botcazou <ebotcazou@adacore.com>
* gnat.dg/opt38.adb: New test. * gnat.dg/opt38.adb: New test.
......
! { dg-do compile }
!
! PR fortran/38829
!
MODULE mExample
CONTAINS
SUBROUTINE wrapper(y_c) bind(c)
USE iso_c_binding
type, bind(c) :: ty_c
type(c_ptr) :: y_cptr
Integer(c_int) ny
end type
type(ty_c) :: y_c
END SUBROUTINE
END MODULE
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment