diff options
| -rw-r--r-- | clang/test/CodeGenCXX/castexpr-basepathsize-threshold.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/test/CodeGenCXX/castexpr-basepathsize-threshold.cpp b/clang/test/CodeGenCXX/castexpr-basepathsize-threshold.cpp index 187f52797cd..61272b1ceea 100644 --- a/clang/test/CodeGenCXX/castexpr-basepathsize-threshold.cpp +++ b/clang/test/CodeGenCXX/castexpr-basepathsize-threshold.cpp @@ -3,6 +3,10 @@ // https://bugs.llvm.org/show_bug.cgi?id=38356 // We only check that we do not crash. +// ASAN increases stack usage, so we are hitting stack overflow before reaching +// recursive template instantiation limit. +// XFAIL: darwin && asan + template <typename a, a b(unsigned), int c, unsigned...> struct d : d<a, b, c - 1> {}; template <typename a, a b(unsigned), unsigned... e> |

