https://github.com/epiqc/ScaffCC
Raw File
Tip revision: 66a79944ee4cd116b27bc1a69137276885461db8 authored by Andrew Litteken on 28 September 2021, 15:30:02 UTC
Merge pull request #49 from AndrewLitteken/master
Tip revision: 66a7994
struct-recursion.c
// RUN: %clang_cc1 %s -fsyntax-only

// C99 6.7.2.3p11

// mutually recursive structs
struct s1 { struct s2 *A; };
struct s2 { struct s1 *B; };

// both types are complete now.
struct s1 a;
struct s2 b;
back to top