summaryrefslogtreecommitdiffstats
path: root/tests/codegen/fewer-names.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/codegen/fewer-names.rs')
-rw-r--r--tests/codegen/fewer-names.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/codegen/fewer-names.rs b/tests/codegen/fewer-names.rs
index a09c79592..df1080bff 100644
--- a/tests/codegen/fewer-names.rs
+++ b/tests/codegen/fewer-names.rs
@@ -13,8 +13,8 @@ pub fn sum(x: u32, y: u32) -> u32 {
// NO-LABEL: define{{.*}}i32 @sum(i32 noundef %x, i32 noundef %y)
// NO-NEXT: start:
- // NO-NEXT: %0 = add i32 %y, %x
- // NO-NEXT: ret i32 %0
+ // NO-NEXT: %z = add i32 %y, %x
+ // NO-NEXT: ret i32 %z
let z = x + y;
z
}