2019-11-03 18:00:00 -06:00
|
|
|
// check-pass
|
2018-09-25 16:51:35 -05:00
|
|
|
#![allow(dead_code)]
|
2015-03-22 15:13:15 -05:00
|
|
|
// pretty-expanded FIXME #23616
|
|
|
|
|
2014-12-06 10:39:25 -06:00
|
|
|
struct TestStruct {
|
2015-03-25 19:06:52 -05:00
|
|
|
x: *const [isize; 2]
|
2014-12-06 10:39:25 -06:00
|
|
|
}
|
|
|
|
|
2014-12-21 17:49:42 -06:00
|
|
|
unsafe impl Sync for TestStruct {}
|
2014-12-06 10:39:25 -06:00
|
|
|
|
2015-03-25 19:06:52 -05:00
|
|
|
static TEST_VALUE : TestStruct = TestStruct{x: 0x1234 as *const [isize; 2]};
|
2014-10-16 14:40:21 -05:00
|
|
|
|
|
|
|
fn main() {}
|