diagnostics: Fix PR 15378
Joseph S. Myers
jsm@polyomino.org.uk
Mon Aug 30 11:29:00 GMT 2004
On Mon, 30 Aug 2004, Gabriel Dos Reis wrote:
> I did not attach a testcase because our testsuite infrastructure looks
> for line numbers, and we don't have one for this kind of thing.
Try using line number 0:
/* { dg-error "warnings being treated as errors" "" { target *-*-* } 0 } */
--
Joseph S. Myers http://www.srcf.ucam.org/~jsm28/gcc/
http://www.srcf.ucam.org/~jsm28/gcc/#c90status - status of C90 for GCC 3.5
jsm@polyomino.org.uk (personal mail)
jsm28@gcc.gnu.org (Bugzilla assignments and CCs)
More information about the Gcc-patches
mailing list