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-templ3.C
blob
662511eee03e13262489b1667f298a793b664be1
1
// PR c++/68666
2
// { dg-do compile { target c++17_only } }
3
// { dg-options "-fconcepts-ts" }
4
5
struct A {
6
template <class>
7
static constexpr bool val = true;
8
};
9
10
template <class T>
11
concept bool C = A::val<T>;
12
13
C{T} struct B {};