☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
rust
/
compile
/
xfail
/
struct_field_vis.rs
☽
☼
gcc/testsuite/rust/compile/xfail/struct_field_vis.rs
code
plain
raw
1
// { dg-xfail-if "pub visibility not supported #432" *-*-* }
2
3
mod foomod {
4
pub struct Foo {
5
pub f: i32,
6
pub g: u32,
7
}
8
}
9
10
fn test() -> foomod::Foo {
11
foomod::Foo{
12
f:1,
13
g:3,
14
}
15
}