From 1d1b5a2e33846dd7c519aed2c203a0bc8e000f99 Mon Sep 17 00:00:00 2001 From: Vaibhav Thakkar Date: Sat, 15 Jun 2024 21:02:35 +0200 Subject: [PATCH] Fix test failure on master due to rebasing --- test/Gradient/FunctionCalls.C | 4 +--- test/Hessian/BuiltinDerivatives.C | 2 -- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/test/Gradient/FunctionCalls.C b/test/Gradient/FunctionCalls.C index 5d03e8153..a419b5ab2 100644 --- a/test/Gradient/FunctionCalls.C +++ b/test/Gradient/FunctionCalls.C @@ -962,8 +962,6 @@ double sq_defined_later(double x) { // CHECK-NEXT: } // CHECK: void custom_identity_pullback(double &i, double _d_y, double *_d_i) { -// CHECK-NEXT: goto _label0; -// CHECK-NEXT: _label0: // CHECK-NEXT: *_d_i += _d_y; // CHECK-NEXT: } @@ -1055,4 +1053,4 @@ double sq_defined_later(double x) { // CHECK: void ptrRef_pullback(double *&ptr_ref, double _d_y, double **_d_ptr_ref) { // CHECK-NEXT: **_d_ptr_ref += _d_y; -// CHECK-NEXT: } \ No newline at end of file +// CHECK-NEXT: } diff --git a/test/Hessian/BuiltinDerivatives.C b/test/Hessian/BuiltinDerivatives.C index 7a7987892..e54f0f8a0 100644 --- a/test/Hessian/BuiltinDerivatives.C +++ b/test/Hessian/BuiltinDerivatives.C @@ -363,8 +363,6 @@ int main() { // CHECK-NEXT: } // CHECK: void f7_darg0_grad(float x, float y, float *_d_x, float *_d_y) { -// CHECK-NEXT: goto _label0; -// CHECK-NEXT: _label0: // CHECK-NEXT: { // CHECK-NEXT: float _r0 = 0; // CHECK-NEXT: _r0 += 1 * clad::custom_derivatives{{(::std)?}}::cos_pushforward(x, 1.F).pushforward;