Skip to content

Commit d8c74b5

Browse files
committed
Accept any digit in the check (WASI ends up with spill2 instead of spill3).
1 parent 29f30c3 commit d8c74b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/codegen/debuginfo-proc-macro/mir_inlined_twice_var_locs.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
// Find both dbg_declares. These will proceed the variable metadata, of course, so we're looking
1212
// backwards.
13-
// CHECK-DAG: dbg_declare(ptr %n.dbg.spill3, ![[#var_dbg]], !DIExpression(), ![[#var_loc2:]])
13+
// CHECK-DAG: dbg_declare(ptr %n.dbg.spill{{[0-9]}}, ![[#var_dbg]], !DIExpression(), ![[#var_loc2:]])
1414
// CHECK-DAG: dbg_declare(ptr %n.dbg.spill, ![[#var_dbg]], !DIExpression(), ![[#var_loc1:]])
1515

1616
// Find the first location definition, looking forwards again.

0 commit comments

Comments
 (0)