diff options
-rw-r--r-- | clang/test/SemaTemplate/instantiation-depth-default.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/test/SemaTemplate/instantiation-depth-default.cpp b/clang/test/SemaTemplate/instantiation-depth-default.cpp index 9d8b6cc7356..39410bd89b4 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<int N, typename T> struct X : X<N+1, T*> {}; // expected-error-re@8 {{recursive template instantiation exceeded maximum depth of 1024{{$}}}} |