Add test case for issue #333. Closes #333

This has been fixed by a mystery hacker.
This commit is contained in:
Brian Anderson 2011-07-08 17:43:44 -07:00
parent 1ff426b89f
commit 394b8fcd1c

View file

@ -0,0 +1,12 @@
fn quux[T](&T x) -> T{
auto f = id[T];
ret f(x);
}
fn id[T](&T x) -> T {
ret x;
}
fn main() {
assert quux(10) == 10;
}