blob: 8d28f0080dd561e995d95f43e4219b9fcb51cbd5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// 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: (u8, u8, u8)) {
assert!(unicode_version.0 >= 10);
}
|