rustc: Fix inference for auto slots. Add a test case.

This commit is contained in:
Patrick Walton 2011-03-18 17:43:56 -07:00
parent f3b58947c0
commit 082e5a5e5d
1 changed files with 6 additions and 0 deletions

View File

@ -0,0 +1,6 @@
fn main() {
auto n;
n = 1;
log n;
}