new test case

This commit is contained in:
Niko Matsakis 2012-02-05 10:08:14 -08:00
parent 966504c828
commit dd51031390

View File

@ -0,0 +1,7 @@
// Test a rather underspecified example:
fn main() {
let f = {|i| i};
assert f(2) == 2;
assert f(5) == 5;
}