repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
testsuite: update mangling
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp2a
/
fn-template24.C
blob
b444ac6a273428f31b76e21008b2a34f47aaed26
1
// PR c++/99911
2
// { dg-do compile { target c++20 } }
3
4
namespace N {
5
struct A { };
6
template<class T> void get(A);
7
};
8
9
template<class T>
10
auto f() {
11
return []<class U>(U) { get<U>(T{}); };
12
}
13
14
int main() {
15
f<N::A>()(0);
16
}