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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [Wcxx-compat-19.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
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.