416331ca XL |
1 | // run-pass |
2 | |
f9f354fc |
3 | /// Tests access to the Unicode version constant. |
ea8adc8c XL |
4 | pub fn main() { |
5 | check(std::char::UNICODE_VERSION); |
223e47cc LB |
6 | } |
7 | |
ba9703b0 XL |
8 | pub fn check(unicode_version: (u8, u8, u8)) { |
9 | assert!(unicode_version.0 >= 10); |
ea8adc8c |
10 | } |