annotate gcc/testsuite/gfortran.dg/proc_decl_20.f90 @ 132:d34655255c78

update gcc-8.2
author mir3636
date Thu, 25 Oct 2018 10:21:07 +0900
parents 04ced10e8804
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 ! { dg-do compile }
kono
parents:
diff changeset
2 !
kono
parents:
diff changeset
3 ! PR fortran/36463
kono
parents:
diff changeset
4 ! Gfortran used to fail on this testcase with:
kono
parents:
diff changeset
5 ! gfc_get_default_type(): Bad symbol '@0'
kono
parents:
diff changeset
6 !
kono
parents:
diff changeset
7 ! Original program by James Van Buskirk
kono
parents:
diff changeset
8 ! Reduced by Janus Weil <janus@gcc.gnu.org>
kono
parents:
diff changeset
9
kono
parents:
diff changeset
10 module other_fun
kono
parents:
diff changeset
11 interface
kono
parents:
diff changeset
12 function abstract_fun(x)
kono
parents:
diff changeset
13 integer x
kono
parents:
diff changeset
14 integer abstract_fun(x)
kono
parents:
diff changeset
15 end function abstract_fun
kono
parents:
diff changeset
16 end interface
kono
parents:
diff changeset
17 end module other_fun
kono
parents:
diff changeset
18
kono
parents:
diff changeset
19 program fptr
kono
parents:
diff changeset
20 use other_fun
kono
parents:
diff changeset
21 procedure(abstract_fun) :: fun
kono
parents:
diff changeset
22 end program fptr