Sign in
fuchsia
/
third_party
/
rust
/
cfcc5c296ed6fabcc8b9d380eaaea8a7352299fd
/
.
/
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
()
{}