From 4c6c1d0f437194904d6093ca2f94230b6ec49e0b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Thu, 12 Dec 2019 15:17:16 +0100 Subject: [PATCH] [clang] [test] Disable the test exhausting stack on NetBSD Disable the instantiation-depth-default.cpp test on NetBSD since it requires more stack space than we have by default on NetBSD. Differential Revision: https://reviews.llvm.org/D71419 --- clang/test/SemaTemplate/instantiation-depth-default.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/clang/test/SemaTemplate/instantiation-depth-default.cpp b/clang/test/SemaTemplate/instantiation-depth-default.cpp index 9d8b6cc..39410bd 100644 --- a/clang/test/SemaTemplate/instantiation-depth-default.cpp +++ b/clang/test/SemaTemplate/instantiation-depth-default.cpp @@ -4,6 +4,9 @@ // increases our per-frame stack usage enough that this test no longer fits // within our normal stack space allocation. // UNSUPPORTED: asan +// +// The default stack size on NetBSD is too small for this test. +// UNSUPPORTED: system-netbsd template struct X : X {}; // expected-error-re@8 {{recursive template instantiation exceeded maximum depth of 1024{{$}}}} -- 2.7.4