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
/
Parser
/
cxx-ambig-decl-expr-xfail.cpp
blob
85c34680f0a3c8eff12c81e97fdd5aad18933ba9
1
// RUN: %clang_cc1 -fsyntax-only -verify %s
2
// XFAIL: *
3
// FIXME: This is PR7655
4
5
struct
X
{
6
template
<
typename T
>
X
(
T
);
7
X
(
int
,
int
);
8
9
X
operator
()(
int
,
int
)
const
;
10
};
11
12
template
<
typename T
,
typename U
>
struct
Y
{ };
13
14
X
*
x
;
15
void
f
() {
16
int
y
=
0
;
17
X
(*
x
)(
int
(
y
),
int
(
y
)) =
Y
<
int
,
float
>(), ++
y
;
18
}