167754Smsmith// { dg-do compile } 267754Smsmith// 2007-04-30 Benjamin Kosnik <bkoz@redhat.com> 367754Smsmith 477424Smsmith// Copyright (C) 2007-2015 Free Software Foundation, Inc. 582367Smsmith// 667754Smsmith// This file is part of the GNU ISO C++ Library. This library is free 767754Smsmith// software; you can redistribute it and/or modify it under the 867754Smsmith// terms of the GNU General Public License as published by the 967754Smsmith// Free Software Foundation; either version 3, or (at your option) 1067754Smsmith// any later version. 1167754Smsmith 1267754Smsmith// This library is distributed in the hope that it will be useful, 1371867Smsmith// but WITHOUT ANY WARRANTY; without even the implied warranty of 1470243Smsmith// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1567754Smsmith// GNU General Public License for more details. 1667754Smsmith 1767754Smsmith// You should have received a copy of the GNU General Public License along 1867754Smsmith// with this library; see the file COPYING3. If not see 1967754Smsmith// <http://www.gnu.org/licenses/>. 2067754Smsmith 2167754Smsmith 2267754Smsmith// NB: This file is for testing type_traits with NO OTHER INCLUDES. 2367754Smsmith 2467754Smsmith#include <tr1/type_traits> 2567754Smsmith 2667754Smsmithnamespace std 2767754Smsmith{ 2867754Smsmith namespace tr1 2967754Smsmith { 3067754Smsmith typedef short test_type; 3167754Smsmith template struct rank<test_type>; 3267754Smsmith } 3367754Smsmith} 3467754Smsmith