Skip to content
This repository has been archived by the owner on May 23, 2024. It is now read-only.

Commit

Permalink
Add ICEs for rust#68091 and rust68092
Browse files Browse the repository at this point in the history
  • Loading branch information
KamilaBorowska committed Jan 10, 2020
1 parent 269632f commit cc5186f
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
9 changes: 9 additions & 0 deletions ices/68091.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
macro_rules! x {
($($c:tt)*) => {
$($c)ö* {}
};
}

fn main() {
x!(if);
}
9 changes: 9 additions & 0 deletions ices/68092.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
macro_rules! x {
($($c:tt)*) => {
$($c)ö*
};
}

fn main() {
x!(!);
}

0 comments on commit cc5186f

Please sign in to comment.