]> git.lizzy.rs Git - rust.git/blobdiff - tests/target/macros.rs
Fix static async closure qualifier order
[rust.git] / tests / target / macros.rs
index a240678746138895ea263a9b4f1ffc661d460213..e930b5037d930f79873633881acce0468c0f5371 100644 (file)
@@ -1050,5 +1050,13 @@ pub fn fold_abi<V: Fold + ?Sized>(_visitor: &mut V, _i: Abi) -> Abi {
 // #3463
 x! {()}
 
+// #3746
+f!(match a {
+    4 => &[
+        (3, false), // Missing
+        (4, true)   // I-frame
+    ][..],
+});
+
 // #3583
 foo!(|x = y|);