diff options
-rw-r--r-- | clang-tools-extra/clangd/unittests/TypeHierarchyTests.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang-tools-extra/clangd/unittests/TypeHierarchyTests.cpp b/clang-tools-extra/clangd/unittests/TypeHierarchyTests.cpp index 62dc147f4c1..be16646a720 100644 --- a/clang-tools-extra/clangd/unittests/TypeHierarchyTests.cpp +++ b/clang-tools-extra/clangd/unittests/TypeHierarchyTests.cpp @@ -390,6 +390,7 @@ TEST(TypeHierarchy, RecursiveHierarchyUnbounded) { )cpp"); TestTU TU = TestTU::withCode(Source.code()); + TU.ExtraArgs.push_back("-ftemplate-depth=10"); auto AST = TU.build(); // The compiler should produce a diagnostic for hitting the |