]> git.lizzy.rs Git - rust.git/blob - src/test/ui/consts/const-vec-syntax.rs
Rollup merge of #64067 - Mark-Simulacrum:valgrind-dyn, r=alexcrichton
[rust.git] / src / test / ui / consts / const-vec-syntax.rs
1 // run-pass
2 // pretty-expanded FIXME #23616
3
4 fn f(_: &[isize]) {}
5
6 pub fn main() {
7     let v = [ 1, 2, 3 ];
8     f(&v);
9 }