summary refs log tree commit diff
path: root/src/test/ui/issues/issue-13837.rs
blob: d475ce1d833196ada4388faa8df6cb2f56e6b80e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// compile-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() {}