c++: P0847R7 (deducing this) - xobj lambdas. [PR102609]
[official-gcc.git] / gcc / testsuite / g++.dg / cpp2a / typename13.C
blob5aa5a516cd4ead6d6c09814cc2b5a397aae0d043
1 // P0634R3, PR c++/88358
2 // { dg-do compile { target c++20 } }
4 template <typename T>
5 int pi(T::your_pi);
7 struct Foo { static constexpr int your_pi = 10; };
9 int
10 main ()
12   return pi<Foo>;