repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git]
/
clang
/
test
/
SemaCXX
/
overload-value-dep-arg.cpp
blob
763daadc252a04ff6dff545c893adc6316442f18
1
// RUN: %clang_cc1 -fsyntax-only -verify %s
2
// expected-no-diagnostics
3
4
class
C
{
5
C
(
void
*);
6
};
7
8
int
f
(
const
C
&);
9
int
f
(
unsigned long
);
10
11
template
<
typename T
>
int
f
(
const
T
*
t
) {
12
return
f
(
reinterpret_cast
<
unsigned long
>(
t
));
13
}
14