summaryrefslogtreecommitdiffstats
path: root/tests/ui/consts/issue-13837.rs
blob: 645b1c0eb8741557c32793ad7f29a98782356b1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// check-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() {}