arm: Add .type and .size to __gnu_cmse_nonsecure_call [PR115360]
[official-gcc.git] / gcc / testsuite / gfortran.dg / pdt_16.f03
blob22c6b83a084297a3e621d73442cff3f9580ad8c6
1 ! { dg-do compile }
3 ! Test the fix for all three errors in PR82586
5 ! Contributed by G Steinmetz  <gscfq@t-online.de>
7 module m
8    type t(a)                 ! { dg-error "does not have a component" }
9    end type
10 end
12 program p
13    type t(a                  ! { dg-error "Expected parameter list" }
14       integer, kind :: a
15    end type
16    type u(a, a)              ! { dg-error "Duplicate name" }
17       integer, kind :: a     ! { dg-error "already declared" }
18       integer, len :: a      ! { dg-error "already declared" }
19    end type
20 end