Sign in
llvm
/
llvm-project
/
clang-tools-extra
/
bb9c7d4c154f222b4d0122bf6bca857a258ca1a1
/
.
/
clangd
/
test
/
infinite-instantiation.test
blob: 85a1b656f49086c7d463be50fdd2af808a0506cf [
file
] [
log
] [
blame
]
// RUN: cp %s %t.cpp
// RUN: not clangd -check=%t.cpp 2>&1 | FileCheck -strict-whitespace %s
// CHECK: [template_recursion_depth_exceeded]
template
<
typename
...
T
>
constexpr
int
f
(
T
...
args
)
{
return
f
(
0
,
args
...);
}
int
main
()
{
auto
i
=
f
();
}