Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
void8.C
blob: e45c91c044c2021497a34c92f7558db45f84643b [
file
] [
log
] [
blame
]
//PR c++/28737
template
<void>
struct
A
;
// { dg-error "not a valid type" }
template
<typename>
struct
B
;
template
<
void
N
>
struct
B
<
A
<
N
>
>
{};
// { dg-error "not a valid type|declared|invalid" }