Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
consts
/
issue-13837.rs
blob: 305512cc41ccf7c3a3ed0623e35f71c62743d992 [
file
] [
log
] [
blame
] [
edit
]
//@ check-pass
#![
allow
(
dead_code
)]
//@ pretty-expanded FIXME #23616
struct
TestStruct
{
x
:
*
const
[
isize
;
2
]
}
unsafe
impl
Sync
for
TestStruct
{}
static
TEST_VALUE
:
TestStruct
=
TestStruct
{
x
:
0x1234
as
*
const
[
isize
;
2
]};
fn
main
()
{}