2 ! { dg-options "-fwhole-file" }
3 ! Tests the fix for PR22571 in which the derived types in a, b
4 ! c and d were not detected to be different. In e and f, they
5 ! are the same because they are sequence types.
7 ! Contributed by Joost VandeVondele <jv244@cam.ac.uk>
22 call a(q
) ! { dg-warning "Type mismatch" }
39 call c(q
) ! { dg-warning "Type mismatch" }
58 call e(q
) ! This is OK because the types are sequence.