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++: change -fconcepts to mean C++20 concepts
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
concepts
/
var-concept7.C
blob
026fe9f416561f62d02fad5bd930c251633bb189
1
// PR c++/85133
2
// { dg-do compile { target c++17_only } }
3
// { dg-options "-fconcepts-ts" }
4
5
template<typename> concept bool C; // { dg-error "no initializer" }
6
7
template<C...> struct A {};
8
9
A<int> a;