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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [cpp/] [Wtrigraphs.c] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
/* { dg-do preprocess } */
2
/* { dg-options "-std=gnu99 -Wtrigraphs -fno-show-column" } */
3
 
4
/* Test we don't double warn for trigraphs immediately after preceding
5
   text.  Source Neil Booth.  22 Nov 2000.  */
6
 
7
abcdef??<                       /* { dg-warning "ignored" } */
8
123456??>                       /* { dg-warning "ignored" } */
9
+??=                            /* { dg-warning "ignored" } */
10
 
11
/* Test we warn of escaped newlines only in comments.  Source Neil
12
   Booth.  4 May 2003.  */
13
 
14
/* { dg-bogus "ignored" } Test ??< ??= a few ??/ random things in
15
   { dg-warning "ignored" } some ??/
16
   { dg-bogus "ignored" } ??< comments.  */
17
 
18
// { dg-bogus "ignored" } More ??/ comment ??> tests.
19
 
20
// { dg-warning "ignored" } Another ??/
21
   Test
22
 
23
// { dg-warning "ignored" } And another with space after ??/  
24
   the escape
25
 
26
// { dg-bogus "ignored" } A tricky one ??/\
27
 

powered by: WebSVN 2.1.0

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