gcc/testsuite/gfortran.dg/coarray/class_1.f90
raw| 1 | !{ dg-do compile } |
| 2 | ! |
| 3 | ! Compiling the call x%f() ICEd. Check it's fixed. |
| 4 | ! Contributed by Gerhard Steinmetz <[email protected]> |
| 5 | |
| 6 | module pr77872_abs |
| 7 | type, abstract :: t |
| 8 | contains |
| 9 | procedure(s), pass, deferred :: f |
| 10 | end type |
| 11 | contains |
| 12 | subroutine s(x) |
| 13 | class(t) :: x[*] |
| 14 | call x%f() |
| 15 | end |
| 16 | end module pr77872_abs |