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
/
alias2.C
blob
2de2aa4da940a5665ea96aa9cf7c41a331f9f9b2
1
// { dg-options "-std=c++17 -fconcepts" }
2
3
template<typename T>
4
concept bool C() { return __is_class(T); }
5
6
template<C T> using X = T*;
7
8
struct S { };
9
10
int main()
11
{
12
X<S> x1;
13
}