Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gnat.dg/prot6.adb @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | 84e7813d76e9 |
children |
line wrap: on
line source
-- { dg-do compile } -- { dg-options "-gnatc" } package body Prot6 is protected body My_Type is procedure Set (D : Integer) is begin I := D; end Set; function Get return Integer is begin return I; end Get; end My_Type; procedure Dummy is null; end Prot6;