[Clang] Crash instantiating a dependent lambda annotated with annotate_type #85154
Closed
Description
This crashes when we try to instantiate the lambda:
template <typename T>
void h() {
(void) [] (T) [[clang::annotate_type("foo")]] { };
}
void f() {
h<int>();
}
Activity