Skip to content

Commit 5118d2f

Browse files
committed
Add test
1 parent 7ccc97e commit 5118d2f

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/test/compile-fail/issue-6596.rs

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
macro_rules! e( //~ ERROR unknown macro variable `nonexistent`
2+
($inp:ident) => (
3+
$nonexistent
4+
);
5+
)
6+
7+
fn main() {
8+
e!(foo);
9+
}

0 commit comments

Comments
 (0)