rust/tests/ui/consts/const-vec-syntax.rs
2023-01-11 09:32:08 +00:00

10 lines
121 B
Rust

// run-pass
// pretty-expanded FIXME #23616
fn f(_: &[isize]) {}
pub fn main() {
let v = [ 1, 2, 3 ];
f(&v);
}