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
/
CXX
/
temp
/
temp.decls
/
temp.fct
/
temp.func.order
/
p5.cpp
blob
5f2dbb6018ce13d16432827351d249dd849409bf
1
// RUN: %clang_cc1 -fsyntax-only -verify %s
2
// expected-no-diagnostics
3
template
<
class
T
>
int
&
f
(
T
);
4
template
<
class
T
>
float
&
f
(
T
*,
int
=
1
);
5
6
template
<
class
T
>
int
&
g
(
T
);
7
template
<
class
T
>
float
&
g
(
T
*, ...);
8
9
int
main
() {
10
int
*
ip
;
11
float
&
fr1
=
f
(
ip
);
12
float
&
fr2
=
g
(
ip
);
13
}