We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
infinite-instatiation.test
1 parent 8d5b7d4 commit 7c640d1Copy full SHA for 7c640d1
clang-tools-extra/clangd/test/infinite-instantiation.test
@@ -1,5 +1,5 @@
1
// RUN: rm -rf %t.dir && mkdir -p %t.dir
2
-// RUN: echo '[{"directory": "%t.dir", "command": "clang -ftemplate-depth=100 -x c++ %s", "file": "%s"}]' > %t.dir/compile_commands.json
+// RUN: echo '[{"directory": "%/t.dir", "command": "clang -ftemplate-depth=100 -x c++ %s", "file": "%/s"}]' > %t.dir/compile_commands.json
3
// RUN: not clangd --compile-commands-dir=%t.dir -check=%s 2>&1 | FileCheck -strict-whitespace %s
4
5
// CHECK: [template_recursion_depth_exceeded]
0 commit comments