Add test case for issue #1733
This commit is contained in:
parent
743c62e1ce
commit
6a7de641da
1 changed files with 2 additions and 0 deletions
|
@ -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]);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue