2 ! This checks the fix for PR20864 in which same name, USE associated
3 ! derived types from different modules, with private components were
4 ! not recognised to be different.
6 ! Contributed by Joost VandVondele <jv244@cam.ac.uk>
11 ! private causes the types in T1 and T2 to be different 4.4.2
34 CALL TEST(x) ! { dg-error "Type mismatch in argument" }
37 ! { dg-final { cleanup-modules "T1 T2" } }