Sign in
gnu
/
gcc
/
19220ca6aa79921cc431e41f25986e16410c7a6a
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
ptrmem6.C
blob: 0d7dec219813d585c2590a6f2097d9edd84376ff [
file
] [
log
] [
blame
]
struct
S
{};
void
g
(
int
S
::**);
template
<
typename
T
>
void
f
(
int
T
::*
volatile
*
p
)
{
g
(
p
);
// { dg-error "" }
}
template
void
f
(
int
S
::*
volatile
*);
// { dg-error "instantiated" }