]> git.proxmox.com Git - rustc.git/blob - src/test/ui/issues/issue-13837.rs
New upstream version 1.41.1+dfsg1
[rustc.git] / src / test / ui / issues / issue-13837.rs
1 // check-pass
2 #![allow(dead_code)]
3 // pretty-expanded FIXME #23616
4
5 struct TestStruct {
6 x: *const [isize; 2]
7 }
8
9 unsafe impl Sync for TestStruct {}
10
11 static TEST_VALUE : TestStruct = TestStruct{x: 0x1234 as *const [isize; 2]};
12
13 fn main() {}