numeric_traits.cc 1.01 KB
Newer Older
1 2 3 4
// { dg-do compile }
// { dg-options "-pedantic" }
// -*- C++ -*-

5
// Copyright (C) 2006-2014 Free Software Foundation, Inc.
6 7 8 9
//
// 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
10
// Free Software Foundation; either version 3, or (at your option)
11 12 13 14 15 16 17 18
// 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
19 20
// with this library; see the file COPYING3.  If not see
// <http://www.gnu.org/licenses/>.
21

22
#include <ext/numeric_traits.h>
23 24 25 26 27

using __gnu_cxx::__numeric_traits;
template struct __numeric_traits<short>;
template struct __numeric_traits<unsigned short>;
template struct __numeric_traits<double>;