rust/tests/ui/consts/const-vec-syntax.rs
2024-02-16 20:02:50 +00:00

10 lines
123 B
Rust

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