blob: 003bbcd5067052ff279cae25af105a18b9287f71 (
plain)
1
2
3
4
5
6
7
8
9
|
macro_rules! impl_uint {
($($ty:ident),*) => {
impl $ty {} // { dg-error "metavariable is still repeating at this depth" }
// { dg-error "unrecognised token" "" { target *-*-* } .-1 } // Spurious
// { dg-error "could not parse type" "" { target *-*-* } .-2 } // Spurious
};
}
impl_uint!(u8, u16, u32, u64, u128);
|