summaryrefslogtreecommitdiffstats
path: root/src/test/ui/consts/const-vec-syntax.rs
blob: 61246e44eba8d437cd92d18d6600443573a09f20 (plain)
1
2
3
4
5
6
7
8
9
// run-pass
// pretty-expanded FIXME #23616

fn f(_: &[isize]) {}

pub fn main() {
    let v = [ 1, 2, 3 ];
    f(&v);
}