aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/rust/compile/issue-1226.rs
blob: f5f9e5ff08d329a6e4c92a5d5273d7df3446835e (plain)
1
2
3
4
5
6
// { dg-additional-options "-w" }
const TEST: *mut u8 = 123 as *mut u8;

fn test() {
    let a = TEST;
}