index
:
rust
this commit
auto
automation/bors/try
automation/bors/try-merge
beta
cargo_update
lcnr/rustc-dev-guide
master
perf-tmp
stable
try
try-perf
https://github.com/rust-lang/rust
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
tests
/
ui
/
consts
/
const-vec-syntax.rs
blob: d305d45a8cdaa6335e8f66d1ca08668b24c9ed27 (
plain
)
1
2
3
4
5
6
7
8
//@ run-pass
fn
f
(
_
:
&
[
isize
])
{}
pub
fn
main
()
{
let
v
=
[
1
,
2
,
3
];
f
(
&
v
);
}