summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--clang/test/SemaTemplate/stack-exhaustion.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/test/SemaTemplate/stack-exhaustion.cpp b/clang/test/SemaTemplate/stack-exhaustion.cpp
index 2ee518d37fe..7f76212d2a4 100644
--- a/clang/test/SemaTemplate/stack-exhaustion.cpp
+++ b/clang/test/SemaTemplate/stack-exhaustion.cpp
@@ -1,6 +1,11 @@
// RUN: %clang_cc1 -verify %s
// 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
+
// expected-warning@* 0-1{{stack nearly exhausted}}
// expected-note@* 0+{{}}
OpenPOWER on IntegriCloud