☰
Debian Codegraph
@
1:22.1.8-2
1:22.1.8-1
1:22.1.7-1
/
/
clang
/
test
/
Parser
/
struct-recursion.c
☽
☼
clang/test/Parser/struct-recursion.c
code
plain
raw
APACHE-2-LLVM-EXCEPTIONS
2003-2017 University of Illinois at Urbana-Champaign.
debian/copyright
1
// RUN: %clang_cc1 %s -fsyntax-only
2
3
// C99 6.7.2.3p11
4
5
// mutually recursive structs
6
struct s1 { struct s2 *A; };
7
struct s2 { struct s1 *B; };
8
9
// both types are complete now.
10
struct s1 a;
11
struct s2 b;