aboutsummaryrefslogtreecommitdiff
path: root/clang/test/SemaCXX/remove-nested-immediate-invocation-crash.cpp
blob: 26faf2bc1c06d439dbb311b80d97c169baeea33a (plain)
1
2
3
4
5
6
7
8
9
10
11
// RUN: not %clang_cc1 -fsyntax-only -verify -std=gnu++20 -ferror-limit 19 %s
// Creduced test case for the crash in RemoveNestedImmediateInvocation after compliation errros.

a, class b {                               template < typename c>                 consteval b(c
} template <typename...> using d = b;
auto e(d<>) -> int:;
}
f
}
g() {
                    auto h = "":(::i(e(h))