OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [cpp/] [syshdr.c] - Rev 154

Compare with Previous | Blame | View Log

/* Test for proper suppression of warnings in system headers,
   and only in system headers.  */
/* FRAGILITY WARNING: The only way we have to distinguish the good error
   from the bad error is that the good error is on line 4 and the bad is
   on line 5 (of their respective files).  dg.exp doesn't have any way to
   condition error matchers on the file they're in.  */
 
/* { dg-do preprocess } */
/* { dg-error "include_next" "good error" { target *-*-* } 4 } */
 
#include "syshdr1.h"  /* { dg-error "" "In file included from:" } */
#include "syshdr2.h"
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.