Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gnat.dg/elab4_pkg.ads @ 144:8f4e72ab4e11
fix segmentation fault caused by nothing next cur_op to end
author | Takahiro SHIMIZU <anatofuz@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 23 Dec 2018 21:23:56 +0900 |
parents | 84e7813d76e9 |
children |
line wrap: on
line source
package Elab4_Pkg is procedure ABE_Call; generic package ABE_Gen is procedure Force_Body; end ABE_Gen; task type ABE_Task; -------------------------------------------------- -- Call to call, instantiation, task activation -- -------------------------------------------------- function Elaborator_1 return Boolean; function Elaborator_2 return Boolean; procedure Suppressed_Call_1; pragma Warnings ("L"); procedure Suppressed_Call_2; pragma Warnings ("l"); ----------------------------------------------------------- -- Instantiation to call, instantiation, task activation -- ----------------------------------------------------------- function Elaborator_3 return Boolean; generic package Suppressed_Generic is procedure Force_Body; end Suppressed_Generic; ------------------------------------------------------------- -- Task activation to call, instantiation, task activation -- ------------------------------------------------------------- function Elaborator_4 return Boolean; task type Suppressed_Task; end Elab4_Pkg;