1! { dg-do link }
2! { dg-additional-sources "class_4b.f03 class_4c.f03" }
3!
4! Test the fix for PR41583, in which the different source files
5! would generate the same 'vindex' for different class declared
6! types.
7!
8! The test comprises class_4a, class_4b and class_4c.f03
9
10! Contributed by Tobias Burnus <burnus@gcc.gnu.org>
11!
12module m
13  type t
14  end type t
15end module m
16! { dg-final { cleanup-modules "m m2" } }
17