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

Commit cc5186f

Browse files
committed
Add ICEs for rust#68091 and rust68092
1 parent 269632f commit cc5186f

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)