Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp1z
/
pr86648.C
blob: 58c611c985fc255120ed09a35fec837d433c5cb4 [
file
] [
log
] [
blame
]
// { dg-do compile { target c++17 } }
template
<typename>
class
A
;
template
<
class
T
>
struct
B
{
static
A a
{
T
::
a
};
// { dg-error "int" }
};
void
foo
()
{
B
<int>
a
;
}