2 // aux-build:test-macros.rs
4 #![feature(decl_macro)]
5 #![feature(stmt_expr_attributes)]
7 #![no_std] // Don't load unnecessary hygiene information from std
11 extern crate test_macros;
14 (expr $expr:expr) => {
17 V = { let _ = $expr; 0 },
20 (stmt $stmt:stmt) => {
23 V = { let _ = { $stmt }; 0 },
31 mac!(expr #[allow(warnings)] 0);