c: Fix up pointer types to may_alias structures [PR114493]
[official-gcc.git] / gcc / testsuite / gfortran.dg / alloc_comp_basics_6.f90
blob4eb0e49a7e52eaa11d38cf525e500c54d2582e2d
1 ! { dg-do compile }
3 ! PR 58026: Bad error recovery for allocatable component of undeclared type
5 ! Contributed by Joost VandeVondele <Joost.VandeVondele@mat.ethz.ch>
7 type sysmtx_t
8 type(ext_complex_t), allocatable :: S(:) ! { dg-error "has not been declared" }
9 class(some_type), allocatable :: X ! { dg-error "has not been declared" }
10 end type
12 end