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
* auto-profile.c (afdo_annotate_cfg): Use update_max_bb_count.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
concepts
/
intro3.C
blob
78d091d3a883c0181ecad5cb256f2e366c55b3d5
1
// { dg-options "-std=c++17 -fconcepts" }
2
3
template<typename ... T>
4
concept bool C1 = true;
5
6
template<int ... N>
7
concept bool C2 = true;
8
9
C1{...A} void f1() {};
10
C2{...A} void f2() {};
11
12
int main()
13
{
14
f1<int, short, char>();
15
f2<1, 2, 3>();
16
return 0;
17
}