Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
9901c57806f7e36736ed1616e6ab3eebcc99b78c
/
.
/
test
/
SemaCXX
/
overload-value-dep-arg.cpp
blob: c1834a7225773fa0fd7093c62f12615678be4e6d [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -fsyntax-only -verify %s
class
C
{
C
(
void
*);
};
int
f
(
const
C
&);
int
f
(
unsigned
long
);
template
<
typename
T
>
int
f
(
const
T
*
t
)
{
return
f
(
reinterpret_cast
<
unsigned
long
>(
t
));
}