From 761fd250de13cfe1a1971ae4a2ae3246bfa39492 Mon Sep 17 00:00:00 2001 From: Mihail Mihov Date: Tue, 19 Mar 2024 19:20:31 +0200 Subject: [PATCH] Fix Gradient/Pointers test --- test/Gradient/Pointers.C | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/test/Gradient/Pointers.C b/test/Gradient/Pointers.C index 294325ac6..d6e9da72e 100644 --- a/test/Gradient/Pointers.C +++ b/test/Gradient/Pointers.C @@ -4,7 +4,6 @@ // FIXME: This test does not work with enable-tbr flag, because the // current implementation of TBR analysis doesn't support pointers. -// XFAIL: target={{i586.*}} #include "clad/Differentiator/Differentiator.h" @@ -170,7 +169,7 @@ double pointerParam(const double* arr, size_t n) { // CHECK: void pointerParam_grad_0(const double *arr, size_t n, clad::array_ref _d_arr) { // CHECK-NEXT: size_t _d_n = 0; // CHECK-NEXT: double _d_sum = 0; -// CHECK-NEXT: unsigned long _t0; +// CHECK-NEXT: unsigned {{int|long}} _t0; // CHECK-NEXT: size_t _d_i = 0; // CHECK-NEXT: size_t i = 0; // CHECK-NEXT: clad::tape _t1 = {}; @@ -621,4 +620,4 @@ int main() { d_x = 0; d_cStyleMemoryAlloc.execute(5, 7, &d_x); printf("%.2f\n", d_x); // CHECK-EXEC: 4.00 -} \ No newline at end of file +}