1 // RUN: %clang_cc1 -verify -std=c++20 -fsyntax-only %s
5 using asdf
= decltype(A
);
6 using enum asdf
; // this line causes the crash
13 using asdf
= decltype(A
);
17 static_assert(t
.D
== D
);
18 static_assert(T::S
== S
);
25 using asdf
= decltype(A
);
30 static_assert(t
.inner
.D
== D
);
31 static_assert(t
.D
== D
); // expected-error {{no member named 'D' in 'N2::T'}}