fix test generic-extern-mangle.rs

This commit is contained in:
Niko Matsakis 2015-02-18 18:56:26 -05:00 committed by Felix S. Klock II
parent eadc8a7b45
commit cf18e9c331

View file

@ -10,7 +10,7 @@
use std::num::Int;
extern "C" fn foo<T: Int>(a: T, b: T) -> T { a + b }
extern "C" fn foo<T: WrappingOps>(a: T, b: T) -> T { a.wrapping_add(b) }
fn main() {
assert_eq!(99u8, foo(255u8, 100u8));