mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-21 19:33:16 +00:00
Add test case for issue #1733
This commit is contained in:
parent
743c62e1ce
commit
6a7de641da
@ -23,4 +23,6 @@ fn main() {
|
|||||||
assert -p == {x: -11, y: -22};
|
assert -p == {x: -11, y: -22};
|
||||||
assert p[true] == 11;
|
assert p[true] == 11;
|
||||||
assert p[false] == 22;
|
assert p[false] == 22;
|
||||||
|
// Issue #1733
|
||||||
|
fn~(_x: int){}(p[true]);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user