diff --git a/test/Jacobian/TemplateFunctors.C b/test/Jacobian/TemplateFunctors.C index 9993b7ba3..72bb747ab 100644 --- a/test/Jacobian/TemplateFunctors.C +++ b/test/Jacobian/TemplateFunctors.C @@ -3,7 +3,6 @@ // RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -enable-tbr %s -I%S/../../include -oTemplateFunctors.out // RUN: ./TemplateFunctors.out | FileCheck -check-prefix=CHECK-EXEC %s // CHECK-NOT: {{.*error|warning|note:.*}} -// XFAIL: target={{i586.*}} #include "clad/Differentiator/Differentiator.h" @@ -21,12 +20,12 @@ template struct Experiment { // CHECK-NEXT: output[0] = this->x * this->y * i * j; // CHECK-NEXT: output[1] = 2 * this->x * this->y * i * j; // CHECK-NEXT: { -// CHECK-NEXT: jacobianMatrix[2UL] += 2 * this->x * this->y * 1 * j; -// CHECK-NEXT: jacobianMatrix[3UL] += 2 * this->x * this->y * i * 1; +// CHECK-NEXT: jacobianMatrix[{{2U|2UL}}] += 2 * this->x * this->y * 1 * j; +// CHECK-NEXT: jacobianMatrix[{{3U|3UL}}] += 2 * this->x * this->y * i * 1; // CHECK-NEXT: } // CHECK-NEXT: { -// CHECK-NEXT: jacobianMatrix[0UL] += this->x * this->y * 1 * j; -// CHECK-NEXT: jacobianMatrix[1UL] += this->x * this->y * i * 1; +// CHECK-NEXT: jacobianMatrix[{{0U|0UL}}] += this->x * this->y * 1 * j; +// CHECK-NEXT: jacobianMatrix[{{1U|1UL}}] += this->x * this->y * i * 1; // CHECK-NEXT: } // CHECK-NEXT: } @@ -44,14 +43,14 @@ template <> struct Experiment { // CHECK-NEXT: output[0] = this->x * this->y * i * i * j; // CHECK-NEXT: output[1] = 2 * this->x * this->y * i * i * j; // CHECK-NEXT: { -// CHECK-NEXT: jacobianMatrix[2UL] += 2 * this->x * this->y * 1 * j * i; -// CHECK-NEXT: jacobianMatrix[2UL] += 2 * this->x * this->y * i * 1 * j; -// CHECK-NEXT: jacobianMatrix[3UL] += 2 * this->x * this->y * i * i * 1; +// CHECK-NEXT: jacobianMatrix[{{2U|2UL}}] += 2 * this->x * this->y * 1 * j * i; +// CHECK-NEXT: jacobianMatrix[{{2U|2UL}}] += 2 * this->x * this->y * i * 1 * j; +// CHECK-NEXT: jacobianMatrix[{{3U|3UL}}] += 2 * this->x * this->y * i * i * 1; // CHECK-NEXT: } // CHECK-NEXT: { -// CHECK-NEXT: jacobianMatrix[0UL] += this->x * this->y * 1 * j * i; -// CHECK-NEXT: jacobianMatrix[0UL] += this->x * this->y * i * 1 * j; -// CHECK-NEXT: jacobianMatrix[1UL] += this->x * this->y * i * i * 1; +// CHECK-NEXT: jacobianMatrix[{{0U|0UL}}] += this->x * this->y * 1 * j * i; +// CHECK-NEXT: jacobianMatrix[{{0U|0UL}}] += this->x * this->y * i * 1 * j; +// CHECK-NEXT: jacobianMatrix[{{0U|1UL}}] += this->x * this->y * i * i * 1; // CHECK-NEXT: } // CHECK-NEXT: } @@ -100,4 +99,4 @@ int main() { TEST_DOUBLE(E, 7, 9); // CHECK-EXEC: {225.00, 175.00, 450.00, 350.00} {225.00, 175.00, 450.00, 350.00} TEST_LONG_DOUBLE(E_ld, 7, 9); // CHECK-EXEC: {3150.00, 1225.00, 6300.00, 2450.00} {3150.00, 1225.00, 6300.00, 2450.00} -} \ No newline at end of file +}