Fix bootstrap failure for bare metal due to autoconf link tests
[official-gcc.git] / gcc / testsuite / gnat.dg / protected_null.adb
blobc58fa2b27f2d972eebaa2c052d07d44556555c22
1 -- { dg-do compile }
3 procedure Proc is
4 protected Po is
5 procedure P is null; -- { dg-error " protected operation cannot be a null procedure" }
6 end Po;
7 protected body Po is
8 procedure P is
9 begin
10 null;
11 end P;
12 end Po;
13 begin
14 null;
15 end;