Sign in
cobalt
/
cobalt
/
61a8495e1e0485bd40f613004bf29f8a925ab37c
/
.
/
src
/
third_party
/
llvm-project
/
clang
/
test
/
CXX
/
temp
/
temp.decls
/
temp.class
/
temp.mem.func
/
pr5056.cpp
blob: fcbb724a7af00f6cfce1e8cd32b86b3307702603 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -fsyntax-only -verify %s
// expected-no-diagnostics
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
);
}