annotate gcc/testsuite/gfortran.dg/lto/pr40725_0.f03 @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 module bind_c_dts_2
kono
parents:
diff changeset
2 use, intrinsic :: iso_c_binding
kono
parents:
diff changeset
3 implicit none
kono
parents:
diff changeset
4 type, bind(c) :: my_c_type_1
kono
parents:
diff changeset
5 integer(c_int) :: j
kono
parents:
diff changeset
6 end type my_c_type_1
kono
parents:
diff changeset
7 contains
kono
parents:
diff changeset
8 subroutine sub0(my_type, expected_j) bind(c)
kono
parents:
diff changeset
9 type(my_c_type_1) :: my_type
kono
parents:
diff changeset
10 integer(c_int), value :: expected_j
kono
parents:
diff changeset
11 if (my_type%j .ne. expected_j) then
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
12 STOP 1
111
kono
parents:
diff changeset
13 end if
kono
parents:
diff changeset
14 end subroutine sub0
kono
parents:
diff changeset
15 end module bind_c_dts_2