178344Sobrien// 2005-01-11  Paolo Carlini  <pcarlini@suse.de>
298184Sgordon//
378344Sobrien// Copyright (C) 2005-2015 Free Software Foundation, Inc.
4156813Sru//
5156813Sru// This file is part of the GNU ISO C++ Library.  This library is free
6118224Smtm// software; you can redistribute it and/or modify it under the
7118224Smtm// terms of the GNU General Public License as published by the
8155209Srwatson// Free Software Foundation; either version 3, or (at your option)
9152286Semax// any later version.
10118224Smtm//
11127345Sbrooks// This library is distributed in the hope that it will be useful,
12118224Smtm// but WITHOUT ANY WARRANTY; without even the implied warranty of
13148760Spjd// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14154645Syar// GNU General Public License for more details.
15149053Spjd//
16151245Semax// You should have received a copy of the GNU General Public License along
17155236Sflz// with this library; see the file COPYING3.  If not see
18145693Sbrooks// <http://www.gnu.org/licenses/>.
19121749Sume
20118224Smtm//
21118224Smtm// NB: This file is for testing tr1/type_traits with NO OTHER INCLUDES.
22156808Sdes
23143489Sdougb#include <tr1/type_traits>
24127043Sjhb
25158722Sflz// { dg-do compile }
26127897Sfjoe
27142962Sbrooksvoid test01()
28135252Sseanc{
29118224Smtm  // Check for required typedefs
30158687Sphk  typedef std::tr1::alignment_of<int>         test_type;
31151842Syar  typedef test_type::value_type               value_type;
32118224Smtm  typedef test_type::type                     type;
33153299Sdougb  typedef test_type::type::value_type         type_value_type;
34118224Smtm  typedef test_type::type::type               type_type;
35151245Semax}
36150490Swollman