2017-02-20 Paul Thomas <pault@gcc.gnu.org>
[official-gcc.git] / gcc / testsuite / gfortran.dg / class_55.f90
blobb47989f416c534bc196e0955ec657a2a5b1b77e8
1 ! { dg-do compile }
3 ! PR 55983: [4.7/4.8 Regression] ICE in find_typebound_proc_uop, at fortran/class.c:2711
5 ! Contributed by Sylwester Arabas <slayoo@staszic.waw.pl>
7 type :: mpdata_t
8 class(bcd_t), pointer :: bcx, bcy ! { dg-error "is a type that has not been declared" }
9 end type
10 type(mpdata_t) :: this
11 call this%bcx%fill_halos() ! { dg-error "is being used before it is defined" }
12 end