Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gnat.dg/bit_order1.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 } with System; procedure Bit_Order1 is type Sample_Ttype is tagged record Data : Natural; end record; type Other_Type is new Sample_Ttype with record Other_Data : String (1 .. 100); end record; for Other_Type'Bit_Order use System.High_Order_First; -- { dg-error "Bit_Order cannot be defined for record extensions" } begin null; end;