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
Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git]
/
clang
/
test
/
SemaTemplate
/
ambiguous-ovl-print.cpp
blob
7e3fa24197eb25b3c84ffe97eb82aff54db0acda
1
// RUN: %clang_cc1 -fsyntax-only -verify %s
2
3
void
f
(
void
*,
int
);
// expected-note{{candidate function}}
4
template
<
typename T
>
5
void
f
(
T
*,
long
);
// expected-note{{candidate function}}
6
7
void
test_f
(
int
*
ip
,
int
i
) {
8
f
(
ip
,
i
);
// expected-error{{ambiguous}}
9
}