rust/tests/ui/inference/simple-infer.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

7 lines
92 B
Rust
Raw Normal View History

// run-pass
#![allow(unused_mut)]
2015-01-25 21:05:03 +00:00
pub fn main() { let mut n; n = 1; println!("{}", n); }