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