Sign in
android
/
toolchain
/
rustc
/
ff3f07ae99a30006dd85b9d73084edd9355c9db6
/
.
/
src
/
test
/
ui
/
union
/
union-unsized.rs
blob: 16f2a73d42570a70f21de7107addbb6390a7d83d [
file
] [
log
] [
blame
]
#![
feature
(
untagged_unions
)]
union U
{
a
:
str
,
//~^ ERROR the size for values of type
b
:
u8
,
}
union W
{
a
:
u8
,
b
:
str
,
//~^ ERROR the size for values of type
}
fn
main
()
{}