Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gnat.dg/synchronized1.adb @ 143:76e1cf5455ef
add cbc_gc test
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 23 Dec 2018 19:24:05 +0900 |
parents | 84e7813d76e9 |
children |
line wrap: on
line source
-- { dg-do compile } -- { dg-options "-gnatws" } package body Synchronized1 with SPARK_Mode, Refined_State => (State => Curr_State) is type Reactor_State is (Stopped, Working) with Atomic; Curr_State : Reactor_State with Async_Readers, Async_Writers; procedure Force_Body is null; end Synchronized1;