1 Upstream-Status: Inappropriate [Backport]
2 From 2173abe5d6f3f3157317caa470226e13827c3df9 Mon Sep 17 00:00:00 2001
3 From: redi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
4 Date: Sun, 10 Apr 2011 16:34:34 +0000
5 Subject: [PATCH 099/200] 2011-04-10 Jonathan Wakely <jwakely.gcc@gmail.com>
7 * testsuite/20_util/function/48451.cc: Rename to...
8 * testsuite/20_util/function/48541.cc: This.
12 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@172243 138bc75d-0d04-0410-961f-82ee72b054a4
14 deleted file mode 100644
15 index f812367..0000000
16 --- a/libstdc++-v3/testsuite/20_util/function/48451.cc
19 -// { dg-options "-std=gnu++0x" }
21 -// Copyright (C) 2011 Free Software Foundation, Inc.
23 -// This file is part of the GNU ISO C++ Library. This library is free
24 -// software; you can redistribute it and/or modify it under the
25 -// terms of the GNU General Public License as published by the
26 -// Free Software Foundation; either version 3, or (at your option)
27 -// any later version.
29 -// This library is distributed in the hope that it will be useful,
30 -// but WITHOUT ANY WARRANTY; without even the implied warranty of
31 -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
32 -// GNU General Public License for more details.
34 -// You should have received a copy of the GNU General Public License along
35 -// with this library; see the file COPYING3. If not see
36 -// <http://www.gnu.org/licenses/>.
40 -#include <functional>
43 - void operator () () const { }
44 - float operator & () const { return 1.2345; }
50 - std::function<void()> f(x);
59 diff --git a/libstdc++-v3/testsuite/20_util/function/48541.cc b/libstdc++-v3/testsuite/20_util/function/48541.cc
61 index 0000000..f812367
63 +++ b/libstdc++-v3/testsuite/20_util/function/48541.cc
65 +// { dg-options "-std=gnu++0x" }
67 +// Copyright (C) 2011 Free Software Foundation, Inc.
69 +// This file is part of the GNU ISO C++ Library. This library is free
70 +// software; you can redistribute it and/or modify it under the
71 +// terms of the GNU General Public License as published by the
72 +// Free Software Foundation; either version 3, or (at your option)
73 +// any later version.
75 +// This library is distributed in the hope that it will be useful,
76 +// but WITHOUT ANY WARRANTY; without even the implied warranty of
77 +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
78 +// GNU General Public License for more details.
80 +// You should have received a copy of the GNU General Public License along
81 +// with this library; see the file COPYING3. If not see
82 +// <http://www.gnu.org/licenses/>.
86 +#include <functional>
89 + void operator () () const { }
90 + float operator & () const { return 1.2345; }
96 + std::function<void()> f(x);