aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/rust/compile/torture/raw_identifiers.rs
blob: a093f69cebbb616be1661613a311c98fcfe5437b (plain)
1
2
3
4
5
6
7
8
9
10
11
pub fn square(num: i32) -> i32 {
    r#num * num
}

pub fn kimchi() -> i32 {
    // UTF-8 raw indentifiers
    let r#김치 = 1;
    let r#泡菜 = 1;
    let r#кимчи = 1;
    r#김치 + r#泡菜 + r#кимчи
}