]> git.lizzy.rs Git - rust.git/blob - src/test/run-pass/parser-unicode-whitespace.rs
Rollup merge of #61499 - varkor:issue-53457, r=oli-obk
[rust.git] / src / test / run-pass / parser-unicode-whitespace.rs
1 // Beware editing: it has numerous whitespace characters which are important.
2 // It contains one ranges from the 'PATTERN_WHITE_SPACE' property outlined in
3 // http://unicode.org/Public/UNIDATA/PropList.txt
4 //
5 // The characters in the first expression of the assertion can be generated
6 // from: "4\u{0C}+\n\t\r7\t*\u{20}2\u{85}/\u{200E}3\u{200F}*\u{2028}2\u{2029}"
7 pub fn main() {
8 assert_eq!(4\f+
9
10 7   * 2\85/‎3‏*
2
, 4 + 7 * 2 / 3 * 2);
11 }