Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp2a
/
concepts-partial-spec3.C
blob: 2970af100f98dac7df0e3b5078cedd0bdcf35296 [
file
] [
log
] [
blame
]
// { dg-do compile { target c++17 } }
// { dg-additional-options "-fconcepts" }
template
<
class
T
>
struct
A
{
};
template
<
class
T
>
requires
false
struct
A
<
T
*>
{
};
template
<
class
T
>
struct
A
<
T
*>
{
static
int
i
;
};
int
i
=
A
<
int
*>::
i
;