Skip to content

Commit 5435535

Browse files
Rollup merge of #78264 - JohnTitor:macro-test, r=petrochenkov
Add regression test for issue-77475 Closes #77475
2 parents cffe067 + 09135e4 commit 5435535

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/test/ui/macros/issue-77475.rs

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
// check-pass
2+
// Regression test of #77475, this used to be ICE.
3+
4+
#![feature(decl_macro)]
5+
6+
use crate as _;
7+
8+
pub macro ice(){}
9+
10+
fn main() {}

0 commit comments

Comments
 (0)