Skip to content

Commit 6c7687e

Browse files
committed
Fix a passing XFAIL test
Now that we can gracefully handle stack exhaustion, this test was passing in darwin && asan. Instead, just unsupport it when threading is unavailable. llvm-svn: 370270
1 parent 027f1da commit 6c7687e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

clang/test/CodeGenCXX/castexpr-basepathsize-threshold.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
// https://bugs.llvm.org/show_bug.cgi?id=38356
44
// We only check that we do not crash.
55

6-
// ASAN increases stack usage, so we are hitting stack overflow before reaching
7-
// recursive template instantiation limit.
8-
// XFAIL: darwin && asan
6+
// This test can exceed stack usage in some configurations, so unless we can
7+
// properly handle that don't run it.
8+
// REQUIRES: thread_support
99

1010
template <typename a, a b(unsigned), int c, unsigned...>
1111
struct d : d<a, b, c - 1> {};

0 commit comments

Comments
 (0)