forked from OSchip/llvm-project
[clangd][NFC] Decrease template depth limit in RecursiveHierarchyUnbounded test
...to minimize the chance of stack overflow before reaching the limit. llvm-svn: 365804
This commit is contained in:
parent
83b380860d
commit
a286aae4d8
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue