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