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
/
pr65552.C
blob
57375d748025fcc121a0109a6d865caf7366da05
1
// { dg-options "-std=c++17 -fconcepts" }
2
3
template<typename T>
4
concept bool Concept() {
5
return requires () {
6
typename T::member_type1;
7
typename T::member_type2;
8
};
9
}
10
11
struct model {
12
using member_type1 = int;
13
using member_type2 = int;
14
};
15
16
template<Concept C>
17
struct S {};
18
19
S<model> s;