Sign in
cobalt
/
cobalt
/
25399f97090f8a86f56525c38486080cb2747250
/
.
/
src
/
third_party
/
llvm-project
/
clang
/
test
/
CXX
/
temp
/
temp.fct.spec
/
temp.deduct
/
temp.deduct.partial
/
p9-0x.cpp
blob: cc129c0a9b2eff5ae34990360105a4f323cda38d [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
// expected-no-diagnostics
template
<
typename
T
>
int
&
f0
(
T
&);
template
<
typename
T
>
float
&
f0
(
T
&&);
// Core issue 1164
void
test_f0
(
int
i
)
{
int
&
ir0
=
f0
(
i
);
float
&
fr0
=
f0
(
5
);
}