summaryrefslogtreecommitdiffstats
path: root/tests/codegen/inline-function-args-debug-info.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/codegen/inline-function-args-debug-info.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/codegen/inline-function-args-debug-info.rs b/tests/codegen/inline-function-args-debug-info.rs
index e3d8caa49..ffae99e0f 100644
--- a/tests/codegen/inline-function-args-debug-info.rs
+++ b/tests/codegen/inline-function-args-debug-info.rs
@@ -6,6 +6,7 @@
#![crate_type = "lib"]
+#[inline(never)]
pub fn outer_function(x: usize, y: usize) -> usize {
inner_function(x, y) + 1
}
@@ -13,8 +14,8 @@ pub fn outer_function(x: usize, y: usize) -> usize {
#[inline]
fn inner_function(aaaa: usize, bbbb: usize) -> usize {
// CHECK: !DILocalVariable(name: "aaaa", arg: 1
- // CHECK-SAME: line: 14
+ // CHECK-SAME: line: 15
// CHECK: !DILocalVariable(name: "bbbb", arg: 2
- // CHECK-SAME: line: 14
+ // CHECK-SAME: line: 15
aaaa + bbbb
}