Rollup merge of #78264 - JohnTitor:macro-test, r=petrochenkov

Add regression test for issue-77475

Closes #77475
This commit is contained in:
Jonas Schievink 2020-10-24 14:12:10 +02:00 committed by GitHub
commit 27cb587edc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View 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() {}