source: tests/polybits.cfa @ d344a63

Last change on this file since d344a63 was caf06aa, checked in by Andrew Beach <ajbeach@…>, 18 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.