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
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
src
/
test
/
run-pass
/
move-arg.rs
blob: 286b7c6cb6dbc9f71ac809762c4abe1155368196 (
plain
)
1
2
3
fn test(-foo: int) { assert (foo == 10); } fn main() { let x = 10; test(x); }