Sign in
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust-bindgen
/
b8ca1dc2ae8256c5b4873aface6290e8ec2fc4fb
/
.
/
tests
/
headers
/
union_template.hpp
blob: 0d0a9bb31dda02ef5e7e115ab5f5736c5d3a959d [
file
] [
log
] [
blame
]
template
<
typename
T
>
struct
NastyStruct
{
bool
mIsSome
;
union
{
void
*
mFoo
;
unsigned
long
mDummy
;
}
mStorage
;
union
{
short
wat
;
int
*
wut
;
};
};
template
<
typename
T
>
union
Whatever
{
void
*
mTPtr
;
int
mInt
;
};