[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / Parser / cxx-ambig-decl-expr-xfail.cpp
blob85c34680f0a3c8eff12c81e97fdd5aad18933ba9
1 // RUN: %clang_cc1 -fsyntax-only -verify %s
2 // XFAIL: *
3 // FIXME: This is PR7655
5 struct X {
6 template<typename T> X(T);
7 X(int, int);
9 X operator()(int, int) const;
12 template<typename T, typename U> struct Y { };
14 X *x;
15 void f() {
16 int y = 0;
17 X (*x)(int(y), int(y)) = Y<int, float>(), ++y;