Skip to content

Commit

Permalink
Adjust testcase to cover issue #91, which was actually fixed back in …
Browse files Browse the repository at this point in the history
…commit f02f9cb.  Closes #91.
  • Loading branch information
froystig committed Jul 26, 2010
1 parent 3d69407 commit 1a61fb8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/test/run-pass/generic-obj.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ obj buf[T](tup(T,T,T) data) {
}

fn take(&T t) {}
fn take2(T t) {}
}

fn main() {
Expand All @@ -23,4 +24,5 @@ fn main() {
check (b.get(0) == 1);
check (b.get(1) == 2);
check (b.get(2) == 3);
b.take2(0);
}

0 comments on commit 1a61fb8

Please sign in to comment.