blob: 2882e7a8008362bf6bf63d89480403c0c7295f65 [file] [log] [blame]
// gate-test-concat_idents
const XY_1: i32 = 10;
fn main() {
const XY_2: i32 = 20;
assert_eq!(10, concat_idents!(X, Y_1)); //~ ERROR `concat_idents` is not stable
assert_eq!(20, concat_idents!(X, Y_2)); //~ ERROR `concat_idents` is not stable
}