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

Commit 8a7a944

Browse files
authored
Merge pull request #249 from xfix/add-ices-68091-and-68092
Add ICEs for rust-lang/rust#68091 and rust-lang/rust#68092
2 parents 269632f + cc5186f commit 8a7a944

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

ices/68091.rs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
macro_rules! x {
2+
($($c:tt)*) => {
3+
$($c)ö* {}
4+
};
5+
}
6+
7+
fn main() {
8+
x!(if);
9+
}

ices/68092.rs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
macro_rules! x {
2+
($($c:tt)*) => {
3+
$($c)ö*
4+
};
5+
}
6+
7+
fn main() {
8+
x!(!);
9+
}

0 commit comments

Comments
 (0)