https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117183
Bug ID: 117183 Summary: gcc.dg/c23-constexpr-2a.c: comment mismatch with dg-do Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: sjames at gcc dot gnu.org CC: jsm28 at gcc dot gnu.org Target Milestone: --- gcc/testsuite/gcc.dg/c23-constexpr-2a.c's header has: ``` /* Test C23 constexpr. Valid code, execution test. */ /* { dg-do link } */ /* { dg-options "-std=c23 -pedantic-errors" } */ ``` Is it meant to be dg-do run (for an execution test) or is the comment at the top wrong? Thanks. I assume it is indeed meant to be an execution test given what the test actually does, but then it's constexpr, so maybe you can argue it the other way. Added in r13-3930-gb556d1773db717.