From: Jakub Jelinek Date: Mon, 11 Mar 2019 07:30:48 +0000 (+0100) Subject: Fix up doubly applied patch making two copies of the test in one file. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6068721c55ada48a275ecef0e32b72d05748bd8e;p=gcc.git Fix up doubly applied patch making two copies of the test in one file. From-SVN: r269566 --- diff --git a/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-89648.C b/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-89648.C index c7a3e84c284..966dcaafad6 100644 --- a/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-89648.C +++ b/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-89648.C @@ -28,33 +28,3 @@ void K::baz (int &x) { long s; quux (x, &l, m, n, o, r, s, q, p, I::e> ()); } -// PR c++/89648 -// { dg-do compile { target c++11 } } - -template struct A { static const T e = U; }; -template struct B; -template struct C; -template using E = typename C::k; -template struct F {}; -template using G = F; -template using H = F; -template using I = G; -template class J {}; -template struct B> : A {}; -template -struct C> : C> {}; -template struct C<0, J> { typedef T k; }; -template E> qux (J); -struct D { template void foo (T) {} }; -void bar (...); -struct K { void baz (int &); int l; D m; int *n, o; }; -template -void quux (int, int *, D x, int *, int, int, T, U, V y, H) { - x.foo ([=] { bar (qux (y)...); }); -} -void K::baz (int &x) { - J p; - int q, r; - long s; - quux (x, &l, m, n, o, r, s, q, p, I::e> ()); -}