// { dg-do compile { target c++20 } } // PR c++/106221 using T = decltype([](){}); template using foo = T; using bar = foo; // PR c++/110680 template struct S { auto f() { return X; } }; template using C = decltype(S().f()); using D = C;