Skip to content

Commit 1a61fb8

Browse files
committed
Adjust testcase to cover issue #91, which was actually fixed back in commit f02f9cb. Closes #91.
1 parent 3d69407 commit 1a61fb8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/test/run-pass/generic-obj.rs

+2
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ obj buf[T](tup(T,T,T) data) {
1212
}
1313

1414
fn take(&T t) {}
15+
fn take2(T t) {}
1516
}
1617

1718
fn main() {
@@ -23,4 +24,5 @@ fn main() {
2324
check (b.get(0) == 1);
2425
check (b.get(1) == 2);
2526
check (b.get(2) == 3);
27+
b.take2(0);
2628
}

0 commit comments

Comments
 (0)