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

This commit is contained in:
Roy Frostig 2010-07-26 15:52:59 -07:00
parent 3d69407b51
commit 1a61fb8eb7

View File

@ -12,6 +12,7 @@ obj buf[T](tup(T,T,T) data) {
}
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);
}