Sign in
gnu
/
gcc
/
refs/heads/master
/
.
/
gcc
/
testsuite
/
gcc.dg
/
gnu23-tag-1.c
blob: 3c0303d4c3ffc0129da84278f92661a072d55209 [
file
] [
log
] [
blame
]
/*
* { dg-do compile }
* { dg-options "-std=gnu23" }
*/
struct
r
{
int
a
;
char
b
[];
};
struct
r
{
int
a
;
char
b
[
0
];
};
/* allowed GNU extension */
struct
r
{
int
a
;
char
b
[
1
];
};
/* { dg-error "redefinition of struct or union" } */