Sign in
◑
Theme
gdch-oss
/
third_party
/
e216bea632ed973ebecbbdccc4e8b4de934193c8
/
.
/
tests
/
rust
/
namespaces_constant.rs
blob: 01a8450b5d0eac294be58b3829fac9819ebb0459 [
file
]
pub
const
FOO
:
i32
=
10
;
pub
const
BAR
:
&
'
static
str
=
"hello world"
;
pub
const
ZOM
:
f32
=
3.14
;
#[
repr
(
C
)]
struct
Foo
{
x
:
[
i32
;
FOO
],
}
#[
no_mangle
]
pub
extern
"C"
fn
root
(
x
:
Foo
)
{
}