]> git.lizzy.rs Git - rust.git/blob - src/test/ui/char_unicode.rs
Rollup merge of #71829 - kper:issue71136, r=matthewjasper
[rust.git] / src / test / ui / char_unicode.rs
1 // run-pass
2
3 /// Tests access to the Unicode version constant.
4 pub fn main() {
5     check(std::char::UNICODE_VERSION);
6 }
7
8 pub fn check(unicode_version: (u8, u8, u8)) {
9     assert!(unicode_version.0 >= 10);
10 }