Adjust testcase to cover issue #91, which was actually fixed back in commit f02f9cbf29
. Closes #91.
This commit is contained in:
parent
3d69407b51
commit
1a61fb8eb7
1 changed files with 2 additions and 0 deletions
|
@ -12,6 +12,7 @@ obj buf[T](tup(T,T,T) data) {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn take(&T t) {}
|
fn take(&T t) {}
|
||||||
|
fn take2(T t) {}
|
||||||
}
|
}
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
|
@ -23,4 +24,5 @@ fn main() {
|
||||||
check (b.get(0) == 1);
|
check (b.get(0) == 1);
|
||||||
check (b.get(1) == 2);
|
check (b.get(1) == 2);
|
||||||
check (b.get(2) == 3);
|
check (b.get(2) == 3);
|
||||||
|
b.take2(0);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue