rust/tests/ui/consts/const-vec-syntax.rs

10 lines
123 B
Rust

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