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
/
concepts-nested1.C
blob
8fc965fa800ddc86fe6be583f03144dcb870b9ad
1
// { dg-do compile { target concepts } }
2
3
namespace N { template <class T> concept True = true; }
4
template <class T> struct A { };
5
6
template <class T>
7
requires N::True<T> && requires { typename A<T>; }
8
void f();
9
10
int main()
11
{
12
f<int>();
13
}