summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gnat.dg/no_exc_prop.adb
blob: 68e2b1d210f0bec3e7dd9a0fbd5eeb59ef7da245 (plain)
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;