summaryrefslogtreecommitdiffstats
path: root/src/test/ui/parser/underscore-suffix-for-string.rs
blob: 2e0ebe2cfa446caa5be1650e42d29b14e022d927 (plain)
1
2
3
4
5
6
7
8
// check-pass

fn main() {
    let _ = "Foo"_;
    //~^ WARNING underscore literal suffix is not allowed
    //~| WARNING this was previously accepted
    //~| NOTE issue #42326
}