summaryrefslogtreecommitdiffstats
path: root/tests/ui/str/str-escape.rs
blob: 0264632fd24a15c8b2c3dfce961336da8e7491f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
// check-pass
fn main() {
    let s = "\

             ";
    //~^^^ WARNING multiple lines skipped by escaped newline
    let s = "foo\
             bar
             ";
    //~^^^ WARNING non-ASCII whitespace symbol '\u{a0}' is not skipped
}