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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [cpp/] [cxxcom1.c] - Blame information for rev 689

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
/* { dg-do preprocess } */
2
/* { dg-options "-pedantic -std=gnu89" } */
3
 
4
/* You can't do this in your own code... */
5
// C++ comment is not in C89  { dg-warning "style comment|reported only once" "good warning" }
6
 
7
/* ...but we don't bitch about it more than once.  */
8
// C++ comment is not in C89  { dg-bogus "style comment" "bad warning" }
9
 
10
/* { dg-final { scan-file-not cxxcom1.i "is not in C89" } } */
11
 

powered by: WebSVN 2.1.0

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