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
/
intro5.C
blob
c5fac8000c35d3382560833e2fc053b79850902a
1
// { dg-options "-std=c++17 -fconcepts" }
2
3
template<typename T, typename U = int>
4
concept bool C()
5
{
6
return sizeof(U) == sizeof(int);
7
}
8
9
C{A} void f1() {}
10
11
int main()
12
{
13
f1<char>();
14
return 0;
15
}