Sign in
rust
/
rust-lang
/
rust
/
refs/heads/beta
/
.
/
tests
/
ui
/
consts
/
issue-13837.rs
blob: 85e278539b2bcda5fabe40c29f6511b5cb396549 [
file
] [
log
] [
blame
]
//@ check-pass
#![
allow
(
dead_code
)]
struct
TestStruct
{
x
:
*
const
[
isize
;
2
]
}
unsafe
impl
Sync
for
TestStruct
{}
static
TEST_VALUE
:
TestStruct
=
TestStruct
{
x
:
0x1234
as
*
const
[
isize
;
2
]};
fn
main
()
{}