mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 14:55:26 +00:00
14 lines
245 B
Rust
14 lines
245 B
Rust
//@ 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() {}
|