rust/src/test/ui/issues/issue-13837.rs
2019-07-03 06:30:28 +09:00

13 lines
280 B
Rust

// build-pass (FIXME(62277): could be 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() {}