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/] [trad/] [mi7.c] - Blame information for rev 154

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
/* Test "ignore redundant include" facility.
2
 
3
   -H is used because cpp might confuse the issue by optimizing out
4
   #line markers.  This test only passes if the headers is read
5
   twice.
6
 
7
   The disgusting regexp in the dg-error line, when stuck into
8
   dg.exp's compiler-output regexp, matches the correct -H output and
9
   only the correct -H output.  It has to be all on one line because
10
   otherwise it will not be interpreted all in one unit.  */
11
 
12
/* { dg-do preprocess }
13
   { dg-options "-H -traditional-cpp" }
14
   { dg-error "mi7a\.h\n\[^\n\]*mi7a\.h\n\[^\n\]*mi7b\.h\n\[^\n\]*mi7b\.h" "redundant include check" { target *-*-* } 0 } */
15
 
16
#include "mi7a.h"
17
#include "mi7a.h"
18
#include "mi7b.h"
19
#include "mi7b.h"

powered by: WebSVN 2.1.0

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