]> git.lizzy.rs Git - rust.git/blob - src/test/ui/moves/move-arg.rs
Rollup merge of #93112 - pietroalbini:pa-cve-2022-21658-nightly, r=pietroalbini
[rust.git] / src / test / ui / moves / move-arg.rs
1 // run-pass
2
3 fn test(foo: isize) { assert_eq!(foo, 10); }
4
5 pub fn main() { let x = 10; test(x); }