Sign in
gnu
/
gcc
/
refs/heads/master
/
.
/
gcc
/
testsuite
/
gcc.dg
/
c23-tag-8.c
blob: 8b3b5ef5dfe2bb94ae7e4a56dfa0dfc46cafaa15 [
file
] [
log
] [
blame
]
/* { dg-do compile }
{ dg-options "-std=c23" } */
void
foo
(
void
)
{
struct
bar
{
struct
bar
*
next
;
};
struct
bar
{
struct
bar
*
next
;
};
struct
bar
{
struct
bar
{
struct
bar
*
next
;
}*
next
;
};
/* { dg-error "nested" } */
}