Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
partial-specialization9.C
blob: 49f3500b180a221c7ee8c8527aa7590bef0d4bc1 [
file
] [
log
] [
blame
]
// PR c++/77435
template
<
int
,
class
T
,
T
>
struct
S
;
template
<
class
T
,
T A
>
struct
S
<
0
,
T
,
A
>
{};
int
i
;
S
<
0
,
int
*,
&
i
>
r
;
// OK
S
<
0
,
int
&,
i
>
s
;
// error: aggregate 'S<0, int&, i> s' has incomplete type