8000 Add regression test for issue-77475 · rust-lang/rust@09135e4 · GitHub
[go: up one dir, main page]

Skip to content

Commit 09135e4

Browse files
committed
Add regression test for issue-77475
1 parent a9cd294 commit 09135e4

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

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

Lines changed: 10 additions & 0 deletions
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)
0