[to-be-committed] [RISC-V] Use Zbkb for general 64 bit constants when profitable
[official-gcc.git] / gcc / testsuite / gfortran.dg / typebound_generic_14.f03
blob8fd2a59578ea21a1860c37ff6687124ed85cbe06
1 ! { dg-do compile }
3 ! PR 54594: [OOP] Type-bound ASSIGNMENTs (elemental + array version) rejected as ambiguous
5 ! Contributed by James van Buskirk
7 module a_mod
9   type :: a
10    contains
11      procedure, NOPASS :: a_ass, a_ass_sv
12      generic :: ass => a_ass, a_ass_sv
13   end type
15 contains
17   impure elemental subroutine a_ass (out)
18     class(a), intent(out) :: out
19   end subroutine
21   subroutine a_ass_sv (out)
22     class(a), intent(out) :: out(:)
23   end subroutine
25 end module