repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git]
/
clang
/
test
/
Parser
/
struct-recursion.c
blob
834c5d0f771ff64dd2eaf3275cc44a2d941316c4
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
;