1 ! RUN: %python %S/test_errors.py %s %flang_fc1
2 ! Derived type parameters
3 ! C731 The same type-param-name shall not appear more than once in a given
5 ! C741 A type-param-name in a type-param-def-stmt in a derived-type-def shall
6 ! be one of the type-paramnames in the derived-type-stmt of that
8 ! C742 Each type-param-name in the derived-type-stmt in a derived-type-def
9 ! shall appear exactly once as a type-param-name in a type-param-def-stmt
10 ! in that derived-type-def.
13 !ERROR: Duplicate type parameter name: 'a'
18 !ERROR: No definition found for type parameter 'b'
23 !ERROR: No definition found for type parameter 'b'
30 !ERROR: 'd' is not a type parameter of this derived type
36 !ERROR: Type parameter, component, or procedure binding 'a' already defined in this type
39 !ERROR: No definition found for type parameter 'k'
40 !ERROR: No definition found for type parameter 'l'
42 character(kind
=k
, len
=l
) :: d3