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: dejagnu testcase question


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.


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