Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
void13.C
blob: 3f36735dbc1ee23cf9c824cbd17d3d6231a0ba97 [
file
] [
log
] [
blame
]
// PR c++/30299
struct
A
{
int
i
;
};
template
<void>
struct
B
:
A
// { dg-error "not a valid type" }
{
B
()
{
this
->
i
;
}
};