Adjust testcase to cover issue #91, which was actually fixed back in commit f02f9cbf29. Closes #91.

This commit is contained in:
Roy Frostig
2010-07-26 15:52:59 -07:00
parent 3d69407b51
commit 1a61fb8eb7
+2
View File
@@ -12,6 +12,7 @@ fn get(int i) -> T {
}
fn take(&T t) {}
fn take2(T t) {}
}
fn main() {
@@ -23,4 +24,5 @@ fn main() {
check (b.get(0) == 1);
check (b.get(1) == 2);
check (b.get(2) == 3);
b.take2(0);
}