Re: [PATCH] [testsuite] add linkonly to dg-additional-sources [PR115295]

2024-06-11 Thread Andrew Pinski
On Tue, Jun 11, 2024 at 7:03 PM Alexandre Oliva wrote: > > > The D testsuite shows it was a mistake to assume that > dg-additional-sources are never to be used for compilation tests. > Even if an output file is specified for compilation, extra module > files can be named and used in the compilatio

[PATCH] [testsuite] add linkonly to dg-additional-sources [PR115295]

2024-06-11 Thread Alexandre Oliva
The D testsuite shows it was a mistake to assume that dg-additional-sources are never to be used for compilation tests. Even if an output file is specified for compilation, extra module files can be named and used in the compilation without being flagged as errors. Introduce a 'linkonly' flag fo