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