summaryrefslogtreecommitdiff
path: root/tests/headers/templatized-bitfield.hpp
blob: ed4a1540582fb87c2be8f46ac520a8b77d523a7a (plain)
1
2
3
4
5
6
7
/// We don't get a layout for this bitfield, since we don't know what `T` will
/// be, so we cannot allocate bitfield units. The best thing we can do is make
/// the struct opaque.
template <class T>
class TemplatizedBitfield {
    T t : 6;
};