1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
-- { dg-do compile } -- { dg-options "-gnatwa" } package body no_exc_prop is protected body Simple_Barrier is entry Wait when Signaled is begin Signaled := False; end Wait; procedure Signal is begin Signaled := True; end Signal; end Simple_Barrier; end no_exc_prop;