summaryrefslogtreecommitdiff
path: root/libstdc++-v3/testsuite/testsuite_hooks.h
diff options
context:
space:
mode:
authorbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>2004-05-22 21:51:07 +0000
committerbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>2004-05-22 21:51:07 +0000
commit4abf7a237436c98e4da84c6a667c80a39fef3c87 (patch)
treeadb7120223d95ba67ebb64ad73a2330b2b723b73 /libstdc++-v3/testsuite/testsuite_hooks.h
parentdf6f8740af7d0dfa1062b5eed4a01fbaca88eb8f (diff)
downloadgcc-4abf7a237436c98e4da84c6a667c80a39fef3c87.tar.gz
2004-05-22 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/testsuite_hooks.h (func_callback): Declare copy constructor and assignment operator private. * testsuite/23_containers/deque/cons/clear_allocator.cc: Match exception specifications of base class. * testsuite/23_containers/list/cons/clear_allocator.cc: Same. * testsuite/23_containers/vector/cons/clear_allocator.cc: Same. * testsuite/23_containers/vector/bool/clear_allocator.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82150 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/testsuite/testsuite_hooks.h')
-rw-r--r--libstdc++-v3/testsuite/testsuite_hooks.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/libstdc++-v3/testsuite/testsuite_hooks.h b/libstdc++-v3/testsuite/testsuite_hooks.h
index daa44232ae4..1919ab8a114 100644
--- a/libstdc++-v3/testsuite/testsuite_hooks.h
+++ b/libstdc++-v3/testsuite/testsuite_hooks.h
@@ -114,7 +114,12 @@ namespace __gnu_test
private:
int _M_size;
test_type _M_tests[15];
-
+
+ func_callback&
+ operator=(const func_callback&);
+
+ func_callback(const func_callback&);
+
public:
func_callback(): _M_size(0) { };