1168482Spjd// 2001-11-25 Phil Edwards <pme@gcc.gnu.org> 2168482Spjd// 3168482Spjd// Copyright (C) 2001, 2003, 2004, 2009 Free Software Foundation, Inc. 4168482Spjd// 5185029Spjd// This file is part of the GNU ISO C++ Library. This library is free 6185029Spjd// software; you can redistribute it and/or modify it under the 7168482Spjd// terms of the GNU General Public License as published by the 8168482Spjd// Free Software Foundation; either version 3, or (at your option) 9168482Spjd// any later version. 10168482Spjd// 11168482Spjd// This library is distributed in the hope that it will be useful, 12168482Spjd// but WITHOUT ANY WARRANTY; without even the implied warranty of 13168482Spjd// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14168482Spjd// GNU General Public License for more details. 15168482Spjd// 16168482Spjd// You should have received a copy of the GNU General Public License along 17168482Spjd// with this library; see the file COPYING3. If not see 18168482Spjd// <http://www.gnu.org/licenses/>. 19168482Spjd 20168482Spjd// 20.4.1.1 allocator members 21185029Spjd 22168482Spjd#include <cstdlib> 23219089Spjd#include <ext/debug_allocator.h> 24168482Spjd#include <ext/malloc_allocator.h> 25168482Spjd#include <replacement_memory_operators.h> 26185029Spjd 27168482Spjdint main() 28168482Spjd{ 29168482Spjd using namespace __gnu_cxx; 30168482Spjd typedef debug_allocator<malloc_allocator<unsigned int> > allocator_type; 31168482Spjd __gnu_test::check_new<allocator_type, false>(); 32219089Spjd return 0; 33168482Spjd} 34219089Spjd