1 ! RUN: %S/test_errors.sh %s %t %flang_fc1
3 ! Derived type parameters
4 ! C731 The same type-param-name shall not appear more than once in a given
6 ! C741 A type-param-name in a type-param-def-stmt in a derived-type-def shall
7 ! be one of the type-paramnames in the derived-type-stmt of that
9 ! C742 Each type-param-name in the derived-type-stmt in a derived-type-def
10 ! shall appear exactly once as a type-param-name in a type-param-def-stmt
11 ! in that derived-type-def.
14 !ERROR: Duplicate type parameter name: 'a'
19 !ERROR: No definition found for type parameter 'b'
24 !ERROR: No definition found for type parameter 'b'
31 !ERROR: 'd' is not a type parameter of this derived type
37 !ERROR: Type parameter, component, or procedure binding 'a' already defined in this type
40 !ERROR: No definition found for type parameter 'k'
41 !ERROR: No definition found for type parameter 'l'
43 character(kind
=k
, len
=l
) :: d3