Add test case for issue #1733

This commit is contained in:
Marijn Haverbeke 2012-02-02 10:30:07 +01:00
parent 743c62e1ce
commit 6a7de641da

View file

@ -23,4 +23,6 @@ fn main() {
assert -p == {x: -11, y: -22};
assert p[true] == 11;
assert p[false] == 22;
// Issue #1733
fn~(_x: int){}(p[true]);
}