This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Proper way to make a one-off multi-file testcase?


On Wed, Jan 30, 2008 at 09:18:14PM +0000, Joern Rennecke wrote:
> However, AFAIK having multiple source files is at odds with a simple test.

If noinline attribute doesn't help, then you can use
/* { dg-additional-sources "..." } */
(just grep for dg-additional-sources in testsuite/gcc.dg/*.c to see how it is
used).

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]