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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [cpp/] [syshdr.c] - Blame information for rev 307

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 jeremybenn
/* Test for proper suppression of warnings in system headers,
2
   and only in system headers.  */
3
/* FRAGILITY WARNING: The only way we have to distinguish the good error
4
   from the bad error is that the good error is on line 4 and the bad is
5
   on line 5 (of their respective files).  dg.exp doesn't have any way to
6
   condition error matchers on the file they're in.  */
7
 
8
/* { dg-do preprocess } */
9
/* { dg-error "include_next" "good error" { target *-*-* } 4 } */
10
 
11
#include "syshdr1.h"  
12
/* { dg-message "" "In file included from:" { target *-*-* } 0 } */
13
#include "syshdr2.h"

powered by: WebSVN 2.1.0

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