]> git.lizzy.rs Git - rust.git/blob - tests/ui/consts/issue-13837.rs
Rollup merge of #106951 - tmiasko:rm-simplify-initial, r=oli-obk
[rust.git] / tests / ui / consts / 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() {}