Sign in
gnu
/
gcc.git
/
refs/heads/master
/
.
/
gcc
/
testsuite
/
rust
/
compile
/
xfail
/
struct_field_vis.rs
blob: a28729e6208fcbf861c60b82ec5c02031a5fee99 [
file
] [
log
] [
blame
]
// { dg-xfail-if "pub visibility not supported #432" *-*-* }
mod
foomod
{
pub
struct
Foo
{
pub
f
:
i32
,
pub
g
:
u32
,
}
}
fn
test
()
->
foomod
::
Foo
{
foomod
::
Foo
{
f
:
1
,
g
:
3
,
}
}