Sign in
llvm
/
llvm-archive
/
f91d1660b4827134c7666ae9637f21a2741d183f
/
.
/
safecode
/
tools
/
clang
/
test
/
CXX
/
temp
/
temp.decls
/
temp.class
/
temp.mem.func
/
pr5056.cpp
blob: 70c9c70a41c01eed117268c30057148a827bd1d2 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -fsyntax-only -verify %s
extern
"C"
void
*
malloc
(
int
);
template
<
typename
T
>
struct
A
{
void
*
malloc
(
int
);
};
template
<
typename
T
>
inline
void
*
A
<
T
>::
malloc
(
int
)
{
return
0
;
}
void
f
()
{
malloc
(
10
);
}