// RUN: %clang_cc1 -fsyntax-only -verify %s
void *
void
typedef int arr;
void
typedef struct I I;
typedef struct J J;
typedef struct K K;
void
void
void
void
void
void
void
void
void
void
// PR39946: Recursive checking of hasConstFields caused stack overflow.
;
void
// Additionally, this example overflowed the stack when figuring out the field.
; // expected-note {{forward declaration of 'struct M1'}}
;
;
void
; // expected-note {{forward declaration of 'struct N1'}}
;
;
void