Sign in
cmake
/
cmake
/
39e5a4da220c1ddcd73d74d26ed55a7418add215
/
.
/
Tests
/
CompileFeatures
/
cxx_unrestricted_unions.cpp
blob: f6d64f62ff39fb3176c7c66955faab9dbeee466f [
file
] [
log
] [
blame
]
struct
point
{
point
()
{}
point
(
int
x
,
int
y
)
:
x_
(
x
)
,
y_
(
y
)
{
}
int
x_
,
y_
;
};
union
u
{
point p_
;
int
i_
;
const
char
*
s_
;
};