Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gnat.dg/entry_queues3.adb @ 118:fd00160c1b76
ifdef TARGET_64BIT
author | mir3636 |
---|---|
date | Tue, 27 Feb 2018 15:01:35 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
-- { dg-do compile } procedure Entry_Queues3 is generic type Large_Range is range <>; package Queue is end; package body Queue is task T is entry E(Large_Range); end T ; task body T is begin accept E(Large_Range'First) do null; end e ; end T ; end Queue; type Large_Range is range 0 .. Long_Integer'Last; package My_Queue is new Queue(Large_Range); -- { dg-warning "warning" } begin null; end;