We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 760ed46 commit e9d08e5Copy full SHA for e9d08e5
gcc/testsuite/rust/compile/torture/raw_identifiers.rs
@@ -1,3 +1,11 @@
1
pub fn square(num: i32) -> i32 {
2
r#num * num
3
}
4
+
5
+pub fn kimchi() -> i32 {
6
+ // UTF-8 raw indentifiers
7
+ let r#김치 = 1;
8
+ let r#泡菜 = 1;
9
+ let r#кимчи = 1;
10
+ r#김치 + r#泡菜 + r#кимчи
11
+}
gcc/testsuite/rust/compile/torture/utf8_identifiers.rs
@@ -0,0 +1,18 @@
+pub fn f() {
+ let crab = ();
+ let Κάβουρας = 0.001;
+ // { dg-warning "unused name" "" { target *-*-* } .-1 }
+ let 게 = "";
+ let سلطعون = 0.;
+ let _: &'かに () = &crab;
12
13
14
+pub fn g<'β, γ>() {}
15
16
+struct _S {
17
+ δ: i32
18
0 commit comments