blob: 93e5300e36fe9ec66552a9b68162b8ab970f3123 [file] [log] [blame]
// run-pass
#![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);
}