summaryrefslogtreecommitdiffstats
path: root/tests/ui/feature-gates/feature-gate-concat_bytes.rs
blob: 07d63cb11e08565c7738695bcb27d3121ecc85c5 (plain)
1
2
3
4
fn main() {
    let a = concat_bytes!(b'A', b"BC"); //~ ERROR use of unstable library feature 'concat_bytes'
    assert_eq!(a, &[65, 66, 67]);
}