// RUN: %clang_cc1 -verify %s -DTEST=1
// RUN: %clang_cc1 -verify %s -DTEST=2
// RUN: %clang_cc1 -verify %s -DTEST=3
// REQUIRES: thread_support
// FIXME: Detection of, or recovery from, stack exhaustion does not work on
// NetBSD at the moment. Since this is a best-effort mitigation for exceeding
// implementation limits, just disable the test.
// UNSUPPORTED: system-netbsd
// asan has own stack-overflow check.
// UNSUPPORTED: asan
// expected-warning@* 0-1{{stack nearly exhausted}}
// expected-note@* 0+{{}}
;
;
X<1000> x;
;
auto decltype // expected-error {{exceeded maximum depth}}
void
int ;
auto f;
int k = ;