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
/
deduction-constraint1.C
blob
5eec87b3c0bb501587052bca28dba2120aec1de0
1
// PR c++/67007
2
// { dg-options "-std=c++17 -fconcepts" }
3
4
template <class U>
5
concept bool A =
6
requires (U u) { u; };
7
8
template <class T>
9
concept bool B =
10
requires (T t) { { t } -> A; };
11
12
void foo(B);