OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [Wcxx-compat-16.c] - Rev 404

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

/* { dg-do compile } */
/* { dg-options "-Wc++-compat" } */
 
struct { int f1; } g1;		/* { dg-warning "C\[+\]\[+\]" } */
static struct { int f2; } g2;
struct s { int f3; } g3;
union { int f4; } g4;		/* { dg-warning "C\[+\]\[+\]" } */
static union { int f5; } g5;
union u { int f6; } g6;
enum { A } g7;			/* { dg-warning "C\[+\]\[+\]" } */
static enum { B } g8;
enum E { C } g9;
 

Go to most recent revision | 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.