1145485Swpaul// 2002-07-25 Benjamin Kosnik <bkoz@redhat.com>
2145485Swpaul
3145485Swpaul// Copyright (C) 2002, 2004 Free Software Foundation, Inc.
4145485Swpaul//
5145485Swpaul// This file is part of the GNU ISO C++ Library.  This library is free
6145485Swpaul// software; you can redistribute it and/or modify it under the
7145485Swpaul// terms of the GNU General Public License as published by the
8145485Swpaul// Free Software Foundation; either version 2, or (at your option)
9145485Swpaul// any later version.
10145485Swpaul
11145485Swpaul// This library is distributed in the hope that it will be useful,
12145485Swpaul// but WITHOUT ANY WARRANTY; without even the implied warranty of
13145485Swpaul// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14145485Swpaul// GNU General Public License for more details.
15145485Swpaul
16145485Swpaul// You should have received a copy of the GNU General Public License along
17145485Swpaul// with this library; see the file COPYING.  If not, write to the Free
18145485Swpaul// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
19145485Swpaul// USA.
20145485Swpaul
21145485Swpaul// As a special exception, you may use this file as part of a free software
22145485Swpaul// library without restriction.  Specifically, if other files instantiate
23145485Swpaul// templates or use macros or inline functions from this file, or you compile
24145485Swpaul// this file and link it with other files to produce an executable, this
25145485Swpaul// file does not by itself cause the resulting executable to be covered by
26145485Swpaul// the GNU General Public License.  This exception does not however
27145485Swpaul// invalidate any other reasons why the executable file might be covered by
28145485Swpaul// the GNU General Public License.
29145485Swpaul
30145485Swpaul// 27.7.3 - Class basic_ostringstream
31145485Swpaul// NB: This file is for testing basic_ostringstream with NO OTHER INCLUDES.
32145485Swpaul
33145485Swpaul#include <sstream>
34145485Swpaul
35145485Swpaul// { dg-do compile }
36145485Swpaul
37145485Swpaulnamespace std
38145485Swpaul{
39145485Swpaul  typedef short type_t;
40145485Swpaul  template class basic_ostringstream<type_t, char_traits<type_t> >;
41145485Swpaul} // test
42145485Swpaul