From 6068721c55ada48a275ecef0e32b72d05748bd8e Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Mon, 11 Mar 2019 08:30:48 +0100 Subject: [PATCH] Fix up doubly applied patch making two copies of the test in one file. From-SVN: r269566 --- .../g++.dg/cpp0x/lambda/lambda-89648.C | 30 ------------------- 1 file changed, 30 deletions(-) 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> ()); -} -- 2.30.2