about summary refs log tree commit diff
path: root/tests/codegen/enum-match.rs
diff options
context:
space:
mode:
authorCamille GILLOT <gillot.camille@gmail.com>2023-05-15 21:15:28 +0200
committerCamille GILLOT <gillot.camille@gmail.com>2023-07-08 15:38:40 +0200
commitd7983a2f231a279984fc70eb428b936930eaa45c (patch)
tree7e289bf73e50ac6d40b8d03575a34d6d32bb7dee /tests/codegen/enum-match.rs
parentd4096e0412ac5de785d739a0aa2b1c1c7b9d3b7d (diff)
downloadrust-d7983a2f231a279984fc70eb428b936930eaa45c.tar.gz
rust-d7983a2f231a279984fc70eb428b936930eaa45c.zip
Always name the return place.
Diffstat (limited to 'tests/codegen/enum-match.rs')
-rw-r--r--tests/codegen/enum-match.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/codegen/enum-match.rs b/tests/codegen/enum-match.rs
index 36c6be19012..5548cd25147 100644
--- a/tests/codegen/enum-match.rs
+++ b/tests/codegen/enum-match.rs
@@ -15,7 +15,7 @@ pub enum Enum0 {
 // CHECK-NEXT: start:
 // CHECK-NEXT: %1 = icmp eq i8 %0, 2
 // CHECK-NEXT: %2 = and i8 %0, 1
-// CHECK-NEXT: %.0 = select i1 %1, i8 13, i8 %2
+// CHECK-NEXT: %_0.0 = select i1 %1, i8 13, i8 %2
 #[no_mangle]
 pub fn match0(e: Enum0) -> u8 {
     use Enum0::*;