Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
partial-specialization3.C
blob: c5f83bd9f1ce0ec8fe60f610a5be48af3be20773 [
file
] [
log
] [
blame
]
// DR 2179
template
<
class
T1
,
class
T2
>
class
A
;
template
<
class
T
>
struct
A
<
T
,
void
>
{
void
f
();
};
template
<
class
T
>
void
g
(
T
)
{
A
<
char
,
void
>().
f
();
}
// #1
template
<
typename
T
>
struct
A
<
char
,
T
>
{};
// { dg-error "" }
A
<
char
,
void
>
f
;
// #2