Sign in
llvm
/
llvm-archive
/
f91d1660b4827134c7666ae9637f21a2741d183f
/
.
/
safecode
/
tools
/
clang
/
test
/
CXX
/
temp
/
temp.fct.spec
/
temp.deduct
/
temp.deduct.call
/
p4.cpp
blob: 9236efce2b83da15afbfd00a5fea074730d7ad7d [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -fsyntax-only -verify %s
namespace
PR8598
{
template
<
class
T
>
struct
identity
{
typedef
T type
;
};
template
<
class
T
,
class
C
>
void
f
(
T C
::*,
typename
identity
<
T
>::
type
*){}
struct
X
{
void
f
()
{};
};
void
g
()
{
(
f
)(&
X
::
f
,
0
);
}
}