☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gcc.dg
/
c23-tag-8.c
☽
☼
gcc/testsuite/gcc.dg/c23-tag-8.c
code
plain
raw
1
/* { dg-do compile }
2
{ dg-options "-std=c23" } */
3
4
void foo(void)
5
{
6
struct bar { struct bar* next; };
7
struct bar { struct bar* next; };
8
struct bar { struct bar { struct bar* next; }* next; }; /* { dg-error "nested" } */
9
}
10