1 ! RUN: %S/test_errors.sh %s %t %flang_fc1
11 !Note: PGI, Intel, GNU, and NAG allow this; Sun does not
15 !ERROR: 'foo' may not be the name of both a generic interface and a procedure unless it is a specific procedure of the generic
26 !ERROR: Cannot use-associate 'foo'; it is already declared in this scope
31 !ERROR: Cannot use-associate 'bar'; it is already declared in this scope
35 !OK to use-associate a type with the same name as a generic
46 ! Can't have derived type and function with same name
51 !ERROR: 'foo' is already declared in this scoping unit
55 ! Even if there is also a generic interface of that name
59 !ERROR: 'foo' is already declared in this scoping unit
71 !ERROR: 'foo' is already declared in this scoping unit
77 ! Use associating a name that is a generic and a derived type
102 !ERROR: 'f6' is already declared in this scoping unit
111 !ERROR: 'f7' is already declared in this scoping unit
120 !ERROR: 'f8' is already declared in this scoping unit
129 !ERROR: 'f9' is already declared in this scoping unit
147 !ERROR: 'f10' is already declared in this scoping unit
160 !ERROR: 'f11' is already declared in this scoping unit
171 !ERROR: 'f12' is already declared in this scoping unit
182 !ERROR: 'f13' is already declared in this scoping unit