Skip to content

Commit

Permalink
Fix ForwardMode/NotEnoughArgError.C
Browse files Browse the repository at this point in the history
  • Loading branch information
MihailMihov committed Oct 27, 2024
1 parent cb9811f commit a2587a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/ForwardMode/NotEnoughArgError.C
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ int main () {
// expected-error@clad/Differentiator/Differentiator.h:* {{too few arguments to function call, expected 2, have 1}}
// expected-note@clad/Differentiator/Differentiator.h:* {{in instantiation of function template specialization 'clad::execute_with_default_args<false, double, double (*)(double, double), int, double, true>' requested here}}
#if __clang_major__ < 16
// expected-note@clad/Differentiator/Differentiator.h:* {{in instantiation of function template specialization 'clad::CladFunction<double (*)(double, double), clad::NoObject, false>::execute_helper<double (*)(double, double), int>' requested here}}
// [email protected]:12 {{in instantiation of function template specialization 'clad::CladFunction<double (*)(double, double), clad::NoObject, false>::execute<int, double (*)(double, double)>' requested here}}
// expected-note@clad/Differentiator/Differentiator.h:* {{in instantiation of function template specialization 'clad::CladFunction<double (*)(double, double), clad::NoObject, false, false>::execute_helper<double (*)(double, double), int>' requested here}}
// [email protected]:12 {{in instantiation of function template specialization 'clad::CladFunction<double (*)(double, double), clad::NoObject, false, false>::execute<int, double (*)(double, double)>' requested here}}
#else
// expected-note@clad/Differentiator/Differentiator.h:* {{in instantiation of function template specialization 'clad::CladFunction<double (*)(double, double), clad::NoObject>::execute_helper<double (*)(double, double), int>' requested here}}
// [email protected]:12 {{in instantiation of function template specialization 'clad::CladFunction<double (*)(double, double), clad::NoObject>::execute<int, double (*)(double, double)>' requested here}}
Expand Down

0 comments on commit a2587a4

Please sign in to comment.