testsuite/rust: add a xfail test case ...
... to show case the timeout system is working
This commit is contained in:
parent
997894f637
commit
e909e4fc7b
|
@ -0,0 +1,10 @@
|
|||
// { dg-excess-errors "...." { xfail *-*-*-* } }
|
||||
|
||||
macro_rules! add {
|
||||
($a:expr) => { $a };
|
||||
($a:expr, $($b:expr),+) => { $a + add!($($b),*) }
|
||||
}
|
||||
|
||||
fn main() -> i32 {
|
||||
add!(add!(1, 2))
|
||||
}
|
Loading…
Reference in New Issue