This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: dejagnu testcase question
- From: Neil Booth <neil at daikokuya dot co dot uk>
- To: Devang Patel <dpatel at apple dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 30 Jul 2002 07:15:44 +0100
- Subject: Re: dejagnu testcase question
- References: <AB23B41C-A356-11D6-A35F-00039310EDEA@>
Devang Patel wrote:-
> Hi,
>
> I have one question related to writing dejagnu test.
> I am preparing a patch to issue a warning in Objective-C.
> The warning is issued by compiler while it is generating
> selector tables at the end of compilation. At this time,
> the warning carries the line number which is one more
> than the size of source file.
>
> My questions is where do I put dg-warning in test ?
You should probably fix it so that it doesn't output any
line number, or outputs an appropriate, valid line number.
Neil.