Skip to content

Commit e909e4f

Browse files
committed
testsuite/rust: add a xfail test case ...
... to show case the timeout system is working
1 parent 997894f commit e909e4f

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
// { dg-excess-errors "...." { xfail *-*-*-* } }
2+
3+
macro_rules! add {
4+
($a:expr) => { $a };
5+
($a:expr, $($b:expr),+) => { $a + add!($($b),*) }
6+
}
7+
8+
fn main() -> i32 {
9+
add!(add!(1, 2))
10+
}

0 commit comments

Comments
 (0)