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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [Wcxx-compat-19.c] - Blame information for rev 307

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

Line No. Rev Author Line
1 298 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-Wc++-compat" } */
3
int v1;                 /* { dg-message "previous declaration" } */
4
int v1;                 /* { dg-warning "invalid in C\[+\]\[+\]" } */
5
int v2;                 /* { dg-message "previous declaration" } */
6
int v2 = 1;             /* { dg-warning "invalid in C\[+\]\[+\]" } */
7
extern int v3;
8
int v3;                 /* { dg-message "previous declaration" } */
9
int v3 = 1;             /* { dg-warning "invalid in C\[+\]\[+\]" } */
10
extern int v4;
11
int v4 = 1;
12
static int v5;          /* { dg-message "previous declaration" } */
13
static int v5;          /* { dg-warning "invalid in C\[+\]\[+\]" } */
14
static int v6;          /* { dg-message "previous declaration" } */
15
static int v6 = 1;      /* { dg-warning "invalid in C\[+\]\[+\]" } */
16
int v7;
17
extern int v7;
18
int v8 = 1;
19
extern int v8;

powered by: WebSVN 2.1.0

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