AArch64: correct constraint on Upl early clobber alternatives
[official-gcc.git] / gcc / testsuite / gfortran.dg / typebound_call_31.f90
blobb33bbf1c52f8f75a49f9fec6dc0bae273a01653e
1 ! { dg-do compile }
2 ! PR 88008 - this use to ICE. Original test case by
3 ! Gerhard Steinmetz.
5 module m
6 type t
7 integer, pointer :: z
8 contains
9 procedure :: g
10 end type
11 contains
12 subroutine g(x)
13 class(t) :: x
14 call x%z%g() ! { dg-error "Error in typebound call" }
15 end
16 end