================
@@ -121,6 +121,45 @@ template struct S<1>; // expected-note {{in instantiation}}
}
+namespace GH218323 {
+template <auto V> struct W {
+ static constexpr auto value = V;
+ template <class T> auto f(T) -> W<value(T::value)>; // #gh218323-f
----------------
zyn0217 wrote:
I meant typename T::type. Please test it
https://github.com/llvm/llvm-project/pull/220110
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits