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
c++: P0847R7 (deducing this) - xobj lambdas. [PR102609]
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp2a
/
lambda-uneval7.C
blob
efe3691d8c9ee390f4d21683ef7959edb11bdc0b
1
// { dg-do compile { target c++20 } }
2
3
template <int N>
4
struct A { };
5
6
template <int N>
7
void g(A<[]{return N;}()>) {}
8
9
int main()
10
{
11
g<1>({});
12
}