blob: 90ec26e80bb49a94abf461b48616803a32bb4fc5 (
plain)
1
2
3
4
5
6
7
8
9
10
|
#![feature(unicode_version)]
/// Tests access to the internal Unicode Version type and value.
pub fn main() {
check(std::char::UNICODE_VERSION);
}
pub fn check(unicode_version: std::char::UnicodeVersion) {
assert!(unicode_version.major >= 10);
}
|