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