mgorny created this revision. mgorny added reviewers: krytarowski, rsmith, compnerd, phosek.
Disable the instantiation-depth-default.cpp test on NetBSD since it requires more stack space than we have by default on NetBSD. https://reviews.llvm.org/D71419 Files: clang/test/SemaTemplate/instantiation-depth-default.cpp Index: clang/test/SemaTemplate/instantiation-depth-default.cpp =================================================================== --- clang/test/SemaTemplate/instantiation-depth-default.cpp +++ 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{{$}}}}
Index: clang/test/SemaTemplate/instantiation-depth-default.cpp =================================================================== --- clang/test/SemaTemplate/instantiation-depth-default.cpp +++ 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{{$}}}}
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits