2013-05-08 12:34:47 -05:00
|
|
|
// Regression test for issue #1448 and #1386
|
2012-01-23 01:29:11 -06:00
|
|
|
|
2015-01-31 10:23:42 -06:00
|
|
|
fn foo(a: u32) -> u32 { a }
|
2013-09-29 22:06:21 -05:00
|
|
|
|
2012-01-23 01:29:11 -06:00
|
|
|
fn main() {
|
2015-01-31 10:23:42 -06:00
|
|
|
println!("{}", foo(10i32)); //~ ERROR mismatched types
|
2012-01-23 01:29:11 -06:00
|
|
|
}
|