]> git.ipfire.org Git - thirdparty/gcc.git/commit
testsuite: fix c23-constexpr-2a.c test to use dg-do run
authorSam James <sam@gentoo.org>
Thu, 31 Oct 2024 18:37:30 +0000 (18:37 +0000)
committerSam James <sam@gentoo.org>
Thu, 31 Oct 2024 18:37:30 +0000 (18:37 +0000)
commit2a4ee57b04398e54284e3d6b5ed4f8842ee26a5c
tree30d17518a3d12127e46ad70f0fa40467aa9efe01
parent9eae9268e41463927c9383004e58708048ec379f
testsuite: fix c23-constexpr-2a.c test to use dg-do run

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

* gcc.dg/c23-constexpr-2a.c: Use dg-do run.
gcc/testsuite/gcc.dg/c23-constexpr-2a.c