]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/parser-unicode-whitespace.rs
Merge commit '97e504549371d7640cf011d266e3c17394fdddac' into sync_cg_clif-2021-12-20
[rust.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 }