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++ PATCH] Deprecate -ffriend-injection
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
concepts
/
pr68434.C
blob
19ce383246a00a26ecae888ff48c837636385491
1
// { dg-options "-std=c++17 -fconcepts" }
2
3
template <class>
4
concept bool C1 () {
5
return true;
6
}
7
8
template <class>
9
concept bool C2 () {
10
return true;
11
}
12
13
template <class Expr>
14
concept bool C3 () {
15
return requires (Expr expr) {
16
{expr}->C1;
17
{expr}->C2;
18
};
19
}
20
21
auto f (C3);