source: tests/polybits.cfa @ 26d40a1

Last change on this file since 26d40a1 was caf06aa, checked in by Andrew Beach <ajbeach@…>, 17 months ago

Added the check for bitfields in sized polymorphic types. It was folded into a logically related but implimentationally seprate pass.

  • Property mode set to 100644
File size: 130 bytes
Line 
1forall( T )
2struct ExampleS {
3        T polyfield;
4        int bitfield :7;
5};
6
7forall( T )
8union ExampleU {
9        T polyfield;
10        int bitfield :7;
11};
Note: See TracBrowser for help on using the repository browser.