headers.cc: Add includes, compile only.

2004-10-14  Benjamin Kosnik  <bkoz@redhat.com>

	* testsuite/ext/headers.cc: Add includes, compile only.
	* testsuite/ext/hash_map.cc: Move to...
	* testsuite/ext/hash_map/1.cc: ...here.
	* testsuite/ext/14648.cc: Move to...
	* testsuite/ext/hash_map/14648.cc: ...here.
	* testsuite/ext/hash_map/instantiate.cc: Add.
	* testsuite/ext/hash_set.cc: Move to...
	* testsuite/ext/hash_set/1.cc: ...here.
	* testsuite/ext/hash_set_explicit_instantiation.cc: Move to...
	* testsuite/ext/hash_set/instantiate.cc: ...here.
	* testsuite/ext/hash_check_construct_destroy.cc: Move to...
	* testsuite/ext/hash_set/check_construct_destroy.cc: ...here.
	* testsuite/ext/slist_check_construct_destroy.cc: Move to...
	* testsuite/ext/slist/check_construct_destroy.cc: ...here.
	* testsuite/ext/slist_explicit_instantiation.cc: Move to...
	* testsuite/ext/slist/instantiate.cc: ...here.

From-SVN: r89054
This commit is contained in:
Benjamin Kosnik 2004-10-14 21:34:52 +00:00 committed by Benjamin Kosnik
parent 11aaaa84ae
commit 1f042340f1
10 changed files with 56 additions and 1 deletions

View File

@ -1,3 +1,22 @@
2004-10-14 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/ext/headers.cc: Add includes, compile only.
* testsuite/ext/hash_map.cc: Move to...
* testsuite/ext/hash_map/1.cc: ...here.
* testsuite/ext/14648.cc: Move to...
* testsuite/ext/hash_map/14648.cc: ...here.
* testsuite/ext/hash_map/instantiate.cc: Add.
* testsuite/ext/hash_set.cc: Move to...
* testsuite/ext/hash_set/1.cc: ...here.
* testsuite/ext/hash_set_explicit_instantiation.cc: Move to...
* testsuite/ext/hash_set/instantiate.cc: ...here.
* testsuite/ext/hash_check_construct_destroy.cc: Move to...
* testsuite/ext/hash_set/check_construct_destroy.cc: ...here.
* testsuite/ext/slist_check_construct_destroy.cc: Move to...
* testsuite/ext/slist/check_construct_destroy.cc: ...here.
* testsuite/ext/slist_explicit_instantiation.cc: Move to...
* testsuite/ext/slist/instantiate.cc: ...here.
2004-10-14 Benjamin Kosnik <bkoz@redhat.com>
* include/ext/mt_allocator.h: Tweaks.

View File

@ -0,0 +1,34 @@
// Copyright (C) 2004 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
// terms of the GNU General Public License as published by the
// Free Software Foundation; either version 2, or (at your option)
// any later version.
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
// You should have received a copy of the GNU General Public License along
// with this library; see the file COPYING. If not, write to the Free
// Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307,
// USA.
// As a special exception, you may use this file as part of a free software
// library without restriction. Specifically, if other files instantiate
// templates or use macros or inline functions from this file, or you compile
// this file and link it with other files to produce an executable, this
// file does not by itself cause the resulting executable to be covered by
// the GNU General Public License. This exception does not however
// invalidate any other reasons why the executable file might be covered by
// the GNU General Public License.
// This file tests explicit instantiation of library containers
#include <ext/hash_map>
// { dg-do compile }
template class __gnu_cxx::hash_map<int, char>;

View File

@ -1,3 +1,4 @@
// { dg-do compile }
// 1999-06-23 bkoz
// Copyright (C) 1999, 2001, 2003 Free Software Foundation, Inc.
@ -35,9 +36,10 @@
#include <ext/slist>
#include <ext/debug_allocator.h>
#include <ext/malloc_allocator.h>
#include <ext/new_allocator.h>
#include <ext/array_allocator.h>
#include <ext/mt_allocator.h>
#include <ext/pool_allocator.h>
#include <ext/stdio_filebuf.h>
#include <ext/stdio_sync_filebuf.h>
int main() { }