Index: clang/test/CodeGenCXX/castexpr-basepathsize-threshold.cpp =================================================================== --- clang/test/CodeGenCXX/castexpr-basepathsize-threshold.cpp +++ 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 struct d : d {}; template