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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [Wcxx-compat-16.c] - Blame information for rev 801

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

Line No. Rev Author Line
1 689 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-Wc++-compat" } */
3
 
4
struct { int f1; } g1;          /* { dg-warning "C\[+\]\[+\]" } */
5
static struct { int f2; } g2;
6
struct s { int f3; } g3;
7
union { int f4; } g4;           /* { dg-warning "C\[+\]\[+\]" } */
8
static union { int f5; } g5;
9
union u { int f6; } g6;
10
enum { A } g7;                  /* { dg-warning "C\[+\]\[+\]" } */
11
static enum { B } g8;
12
enum E { C } g9;

powered by: WebSVN 2.1.0

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