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
Daily bump.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp2a
/
lambda-generic-ttp2.C
blob
dc2029d7227e63ac6ebc1e85d90a8d7059adc508
1
// PR c++/109651
2
// { dg-do compile { target c++20 } }
3
4
template<class T>
5
auto f() {
6
return []<class U, template<class V, U, V> class TT>(U, TT<int, 1, 2>) { };
7
}
8
9
template<class T, int N, int M> struct A { };
10
11
int main() {
12
f<int>()(0, A<int, 1, 2>{});
13
}