gcc/testsuite/gfortran.dg/class_4b.f03
raw| 1 | ! Don't compile this anywhere. |
| 2 | ! { dg-do compile { target { lp64 && { ! lp64 } } } } |
| 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 class_4c.f03 |
| 9 | ! |
| 10 | ! Contributed by Tobias Burnus <[email protected]> |
| 11 | ! |
| 12 | module m2 |
| 13 | use m |
| 14 | type, extends(t) :: t2 |
| 15 | end type t2 |
| 16 | end module m2 |