testsuite: update mangling
[official-gcc.git] / gcc / testsuite / g++.dg / cpp2a / fn-template24.C
blobb444ac6a273428f31b76e21008b2a34f47aaed26
1 // PR c++/99911
2 // { dg-do compile { target c++20 } }
4 namespace N {
5   struct A { };
6   template<class T> void get(A);
7 };
9 template<class T>
10 auto f() {
11   return []<class U>(U) { get<U>(T{}); };
14 int main() {
15   f<N::A>()(0);