2015-07-03 Christophe Lyon <christophe.lyon@linaro.org>
[official-gcc.git] / gcc / testsuite / gfortran.dg / assumed_size_1.f90
blob1ad1ae844adc6393e71980bdd113bf4e3e689cde
1 ! { dg-do compile }
3 ! PR 54189: ICE (segfault) with invalid assumed-size dummy
5 ! Contributed by Tobias Burnus <burnus@gcc.gnu.org>
7 implicit none
8 procedure(g), pointer :: x ! { dg-error "must be a dummy argument" }
9 x => g
11 contains
13 function g() ! { dg-error "must be a dummy argument" }
14 integer :: g(*)
15 end function
17 end