]> git.proxmox.com Git - rustc.git/blob - src/test/ui/parser/parser-unicode-whitespace.rs
New upstream version 1.55.0+dfsg1
[rustc.git] / src / test / ui / parser / parser-unicode-whitespace.rs
1 // run-pass
2 // Beware editing: it has numerous whitespace characters which are important.
3 // It contains one ranges from the 'PATTERN_WHITE_SPACE' property outlined in
4 // https://unicode.org/Public/UNIDATA/PropList.txt
5 //
6 // The characters in the first expression of the assertion can be generated
7 // from: "4\u{0C}+\n\t\r7\t*\u{20}2\u{85}/\u{200E}3\u{200F}*\u{2028}2\u{2029}"
8 pub fn main() {
9 assert_eq!(4\f+
10
11 7 * 2\85/3*2, 4 + 7 * 2 / 3 * 2);
12 }