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] Handle __declspec() attributes in using
[llvm-project.git]
/
clang
/
test
/
SemaTemplate
/
unresolved-construct.cpp
blob
ef010fbdd174780f0c197b65dba5393044fa5648
1
// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
2
// expected-no-diagnostics
3
class
A
4
{
5
public
:
6
A
() {}
7
8
template
<
class
_F
>
9
explicit
A
(
_F
&&
__f
);
10
11
A
(
A
&&) {}
12
A
&
operator
=(
A
&&) {
return
*
this
;}
13
};
14
15
template
<
class
T
>
16
void
f
(
T t
)
17
{
18
A a
;
19
a
=
f
(
t
);
20
}