Skip to content

Commit

Permalink
Rollup merge of #78264 - JohnTitor:macro-test, r=petrochenkov
Browse files Browse the repository at this point in the history
Add regression test for issue-77475

Closes #77475
  • Loading branch information
jonas-schievink authored Oct 24, 2020
2 parents 20ba9ff + 09135e4 commit 27cb587
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/test/ui/macros/issue-77475.rs
Original file line number Diff line number Diff line change
@@ -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() {}

0 comments on commit 27cb587

Please sign in to comment.