Rollup merge of #78264 - JohnTitor:macro-test, r=petrochenkov
Add regression test for issue-77475 Closes #77475
This commit is contained in:
commit
27cb587edc
10
src/test/ui/macros/issue-77475.rs
Normal file
10
src/test/ui/macros/issue-77475.rs
Normal file
@ -0,0 +1,10 @@
|
||||
// check-pass
|
||||
// Regression test of #77475, this used to be ICE.
|
||||
|
||||
#![feature(decl_macro)]
|
||||
|
||||
use crate as _;
|
||||
|
||||
pub macro ice(){}
|
||||
|
||||
fn main() {}
|
Loading…
Reference in New Issue
Block a user