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
* doc/invoke.texi: Document -std=c++17 and -std=gnu++17 and document
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
concepts
/
pr65636.C
blob
01c72a7fac4e898ffd7c295463298fb4b6e21931
1
// { dg-options "-std=c++17 -fconcepts" }
2
3
using TD = int;
4
5
template<typename T>
6
concept bool C() {
7
return requires () { typename TD; };
8
}
9
10
static_assert(C<int>(), "");