Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gnat.dg/discr34_pkg.ads @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
package Discr34_Pkg is function N return Natural; type Enum is (One, Two); type Rec (D : Enum := One) is record case D is when One => S : String (1 .. N); when Two => null; end case; end record; function F return Rec; end Discr34_Pkg;