Skip to content

Commit e1266af

Browse files
committed
correct the test
1 parent 9caef13 commit e1266af

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/codegen/autodiff/inline.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ fn square(x: &f64) -> f64 {
1111
x * x
1212
}
1313

14-
1514
// CHECK: ; inline::d_square
1615
// CHECK-NEXT: ; Function Attrs: alwaysinline
1716
// CHECK-NOT: noinline
@@ -21,4 +20,4 @@ fn main() {
2120
let mut dx1 = std::hint::black_box(1.0);
2221
let _ = d_square(&x, &mut dx1, 1.0);
2322
assert_eq!(dx1, 6.0);
24-
}
23+
}

0 commit comments

Comments
 (0)