Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gfortran.dg/typebound_generic_15.f90 @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
! { dg-do compile } ! ! PR 60231: [4.8/4.9 Regression] ICE on undefined generic ! ! Contributed by Antony Lewis <antony@cosmologist.info> module Objects Type TObjectList contains procedure :: Add1 ! { dg-error "must be a module procedure" } procedure :: Add2 ! { dg-error "must be a module procedure" } generic :: Add => Add1, Add2 ! { dg-error "are ambiguous" } end Type end module