arm: Add .type and .size to __gnu_cmse_nonsecure_call [PR115360]
[official-gcc.git] / gcc / testsuite / gfortran.dg / missing_derived_type_1.f90
blob0e6623ef40ac82ce22245444641dca6c7c752088
1 ! { dg-do compile }
2 ! Tests the fix for PR29364, in which the absence of the derived type
3 ! 'nonexist' was not diagnosed.
5 ! Contributed by Tobias Burnus <tobias.burnus@physik.fu-berlin.de>
7 module test
8 implicit none
9 type epot_t
10 integer :: c
11 type(nonexist),pointer :: l ! { dg-error "has not been declared" }
12 end type epot_t
13 end module test