Sign in
rust
/
rust-lang
/
llvm-project
/
refs/heads/rustc/18.0-2024-02-13
/
.
/
clang-tools-extra
/
clangd
/
test
/
infinite-instantiation.test
blob: 85a1b656f49086c7d463be50fdd2af808a0506cf [
file
] [
log
] [
blame
] [
edit
]
// 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
();
}