summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaTemplate/stack-exhaustion.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2019-09-03 18:00:44 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2019-09-03 18:00:44 +0000
commit03c13e5718a1791c0cf8baf7cd993afb48314371 (patch)
tree5215bc1272ad24a2faad005fc401dd3841ac068e /clang/test/SemaTemplate/stack-exhaustion.cpp
parent5289bbe4d4c73a2dc3260149ae05b828cd7e94fd (diff)
downloadbcm5719-llvm-03c13e5718a1791c0cf8baf7cd993afb48314371.tar.gz
bcm5719-llvm-03c13e5718a1791c0cf8baf7cd993afb48314371.zip
Disable stack exhaustion test on NetBSD, where either the detection or
recovery mechanism does not appear to work. llvm-svn: 370801
Diffstat (limited to 'clang/test/SemaTemplate/stack-exhaustion.cpp')
-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