Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
concepts
/
var-templ3.C
blob: cc5ee5fa8e65040848584f5eb9e833080780ed5b [
file
] [
log
] [
blame
]
// PR c++/68666
// { dg-do compile { target c++17_only } }
// { dg-options "-fconcepts" }
struct
A
{
template
<class>
static
constexpr
bool
val
=
true
;
};
template
<
class
T
>
concept
bool
C
=
A
::
val
<
T
>;
C
{
T
}
struct
B
{};