blob: 11e5f7e97ab1eaa3528b3fa84502d6c75add739d [file] [log] [blame]
Daniel Dunbard7d5f022009-03-24 02:24:46 +00001// RUN: clang-cc %s -fsyntax-only
Reid Spencer5f016e22007-07-11 17:01:13 +00002
3// C99 6.7.2.3p11
4
5// mutually recursive structs
6struct s1 { struct s2 *A; };
7struct s2 { struct s1 *B; };
8
9// both types are complete now.
10struct s1 a;
11struct s2 b;