diff --git a/tests/codegen-llvm/inline-debuginfo.rs b/tests/codegen-llvm/inline-debuginfo.rs index 1e1c9037f5c93..95fba918286a1 100644 --- a/tests/codegen-llvm/inline-debuginfo.rs +++ b/tests/codegen-llvm/inline-debuginfo.rs @@ -10,7 +10,7 @@ pub extern "C" fn callee(x: u32) -> u32 { // CHECK-LABEL: caller // CHECK: dbg{{.}}value({{(metadata )?}}i32 %y, {{(metadata )?}}!{{.*}}, {{(metadata )?}}!DIExpression(DW_OP_constu, 3, DW_OP_minus, DW_OP_stack_value){{.*}} [[A:![0-9]+]] -// CHECK: [[A]] = !DILocation(line: {{.*}}, scope: {{.*}}, inlinedAt: {{.*}}) +// CHECK: [[A]] = {{(distinct )?}}!DILocation(line: {{.*}}, scope: {{.*}}, inlinedAt: {{.*}}) #[no_mangle] pub extern "C" fn caller(y: u32) -> u32 { callee(y - 3)