blob: 09fa7f8f3b6aff2a7f1442e9021fabf34ef36b2d (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
extern int v1; // { dg-error "declared" }
static union { int v1; }; // { dg-error "redeclaration" }
static union { int v2; }; // { dg-error "declared" }
extern int v2; // { dg-error "redeclaration" }
int v3; // { dg-error "declared" }
static union { int v3; }; // { dg-error "redeclaration" }
static union { int v4; }; // { dg-error "declared" }
static union { int v4; }; // { dg-error "redeclaration" }
|