aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJakub Dupak <dev@jakubdupak.com>2024-01-09 15:43:01 +0100
committerCohenArthur <arthur.cohen@embecosm.com>2024-01-22 10:05:47 +0000
commitddb7f134020b499606d26c6206ef8cc20276630b (patch)
tree1988f96c61fc2b1492a0a85289bc0f0293512c16 /gcc
parent184da62a4d4dee67b8ba3ace66f5254e7ba70c54 (diff)
downloadgcc-ddb7f134020b499606d26c6206ef8cc20276630b.zip
gcc-ddb7f134020b499606d26c6206ef8cc20276630b.tar.gz
gcc-ddb7f134020b499606d26c6206ef8cc20276630b.tar.bz2
Test: fix missing lifetime in a test
This test did not compile with rustc. gcc/testsuite/ChangeLog: * rust/compile/torture/utf8_identifiers.rs: add mising lifetime Signed-off-by: Jakub Dupak <dev@jakubdupak.com>
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/rust/compile/torture/utf8_identifiers.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/rust/compile/torture/utf8_identifiers.rs b/gcc/testsuite/rust/compile/torture/utf8_identifiers.rs
index eeee01c..696fcc0 100644
--- a/gcc/testsuite/rust/compile/torture/utf8_identifiers.rs
+++ b/gcc/testsuite/rust/compile/torture/utf8_identifiers.rs
@@ -1,7 +1,7 @@
#[lang = "sized"]
pub trait Sized {}
-pub fn f() {
+pub fn f<'かに>() {
let crab = ();
let Κάβουρας = 0.001;