Add a test for #3583

This commit is contained in:
topecongiro 2019-05-28 00:03:42 +09:00
parent 0c05a21b3a
commit 1c1b4f76bd
2 changed files with 6 additions and 0 deletions

View File

@ -475,3 +475,6 @@ pub fn fold_abi<V: Fold + ?Sized>(_visitor: &mut V, _i: Abi) -> Abi {
// #3463
x ! {()}
x ! y {()}
// #3583
foo!(|x = y|);

View File

@ -1052,3 +1052,6 @@ pub fn fold_abi<V: Fold + ?Sized>(_visitor: &mut V, _i: Abi) -> Abi {
// #3463
x! {()}
x! y {()}
// #3583
foo!(|x = y|);