annotate gcc/testsuite/gfortran.dg/assumed_size_1.f90 @ 158:494b0b89df80 default tip

...
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 25 May 2020 18:13:55 +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 54189: ICE (segfault) with invalid assumed-size dummy
kono
parents:
diff changeset
4 !
kono
parents:
diff changeset
5 ! Contributed by Tobias Burnus <burnus@gcc.gnu.org>
kono
parents:
diff changeset
6
kono
parents:
diff changeset
7 implicit none
kono
parents:
diff changeset
8 procedure(g), pointer :: x ! { dg-error "must be a dummy argument" }
kono
parents:
diff changeset
9 x => g
kono
parents:
diff changeset
10
kono
parents:
diff changeset
11 contains
kono
parents:
diff changeset
12
kono
parents:
diff changeset
13 function g() ! { dg-error "must be a dummy argument" }
kono
parents:
diff changeset
14 integer :: g(*)
kono
parents:
diff changeset
15 end function
kono
parents:
diff changeset
16
kono
parents:
diff changeset
17 end