Sign in
◑
Theme
gnu
/
gcc.git
/
refs/heads/master
/
.
/
gcc
/
testsuite
/
rust
/
compile
/
issues
/
4631.rs
blob: 8b4cea779226b21add6b6198ff26117eebc17b7c [
file
]
#![
feature
(
no_core
)]
#![
no_core
]
#![
feature
(
lang_items
)]
#[
lang
=
"sized"
]
trait
Sized
{}
pub
static
FOO
:
i32
=
42
;
pub
static
BAR
:
i32
=
42
;
pub
static
BAZ
:
bool
=
{
(&
FOO
as
*
const
i32
)
==
(&
BAR
as
*
const
i32
)
};
pub
fn
main
()
{}