Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gnat.dg/test_raise_from_pure.adb @ 158:494b0b89df80 default tip
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 18:13:55 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
-- { dg-do run } -- { dg-options "-O2" } -- This is an optimization test and its failure is only a missed optimization. -- For technical reasons it cannot pass with SJLJ exceptions. with Raise_From_Pure; use Raise_From_Pure; procedure test_raise_from_pure is K : Integer; begin K := Raise_CE_If_0 (0); end;