Sign in
llvm
/
llvm-project
/
clang-tools-extra
/
54221e450188e24f48918b04901e8fb724c9ae3f
/
.
/
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
();
}