Re: [PATCH] testsuite: fix c23-constexpr-2a.c test to use dg-do run

2024-10-31 Thread Joseph Myers
On Thu, 31 Oct 2024, Sam James wrote: > The comment at the top of the test indicates it should be an execution test, > but it was only using 'dg-do link'. Correct that. > > The only change in test results is as expected: > ``` > +PASS: gcc.dg/c23-constexpr-2a.c execution test > ``` > > gcc/tests

[PATCH] testsuite: fix c23-constexpr-2a.c test to use dg-do run

2024-10-31 Thread Sam James
The comment at the top of the test indicates it should be an execution test, but it was only using 'dg-do link'. Correct that. The only change in test results is as expected: ``` +PASS: gcc.dg/c23-constexpr-2a.c execution test ``` gcc/testsuite/ChangeLog: PR testsuite/117183 * gc