]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/unused_unit.fixed
Move MSRV tests into the lint specific test files
[rust.git] / tests / ui / unused_unit.fixed
index a192ebde3ebf4e73047dde8152c6dee234cf6bfc..7bb43cf7ae82ded49dc035f3e03f798993547cc6 100644 (file)
@@ -80,3 +80,10 @@ fn test2(){}
 
 #[rustfmt::skip]
 fn test3(){}
+
+fn macro_expr() {
+    macro_rules! e {
+        () => (());
+    }
+    e!()
+}