aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/rust/compile/const6.rs
blob: 8f0dc3201293e30d6537b90372323264cce90f5c (plain)
1
2
3
4
fn main() {
    const array:[i32; 1] = [1];
    const slice:&[i32] = &array;
}