Dead
[official-gcc.git] / gomp-20050608-branch / libstdc++-v3 / testsuite / tr1 / 8_c_compatibility / cstdint / types.cc
blobd715973980339230de8bf2ccfc7c3c0d83a54337
1 // { dg-do compile }
3 // 2006-01-29 Paolo Carlini <pcarlini@suse.de>
4 //
5 // Copyright (C) 2006 Free Software Foundation, Inc.
6 //
7 // This file is part of the GNU ISO C++ Library. This library is free
8 // software; you can redistribute it and/or modify it under the
9 // terms of the GNU General Public License as published by the
10 // Free Software Foundation; either version 2, or (at your option)
11 // any later version.
13 // This library is distributed in the hope that it will be useful,
14 // but WITHOUT ANY WARRANTY; without even the implied warranty of
15 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 // GNU General Public License for more details.
18 // You should have received a copy of the GNU General Public License along
19 // with this library; see the file COPYING. If not, write to the Free
20 // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
21 // USA.
23 // 8.22 Header <cstdint>
25 #include <tr1/cstdint>
27 void test01()
29 #if _GLIBCXX_USE_C99_STDINT_TR1
31 typedef std::tr1::int8_t my_int8_t;
32 typedef std::tr1::int16_t my_int16_t;
33 typedef std::tr1::int32_t my_int32_t;
34 typedef std::tr1::int64_t my_int64_t;
35 typedef std::tr1::int_fast8_t my_int_fast8_t;
36 typedef std::tr1::int_fast16_t my_int_fast16_t;
37 typedef std::tr1::int_fast32_t my_int_fast32_t;
38 typedef std::tr1::int_fast64_t my_int_fast64_t;
39 typedef std::tr1::int_least8_t my_int_least8_t;
40 typedef std::tr1::int_least16_t my_int_least16_t;
41 typedef std::tr1::int_least32_t my_int_least32_t;
42 typedef std::tr1::int_least64_t my_int_least64_t;
43 typedef std::tr1::intmax_t my_intmax_t;
44 typedef std::tr1::intptr_t my_intptr_t;
45 typedef std::tr1::uint8_t my_uint8_t;
46 typedef std::tr1::uint16_t my_uint16_t;
47 typedef std::tr1::uint32_t my_uint32_t;
48 typedef std::tr1::uint64_t my_uint64_t;
49 typedef std::tr1::uint_fast8_t my_uint_fast8_t;
50 typedef std::tr1::uint_fast16_t my_uint_fast16_t;
51 typedef std::tr1::uint_fast32_t my_uint_fast32_t;
52 typedef std::tr1::uint_fast64_t my_uint_fast64_t;
53 typedef std::tr1::uint_least8_t my_uint_least8_t;
54 typedef std::tr1::uint_least16_t my_uint_least16_t;
55 typedef std::tr1::uint_least32_t my_uint_least32_t;
56 typedef std::tr1::uint_least64_t my_uint_least64_t;
57 typedef std::tr1::uintmax_t my_uintmax_t;
58 typedef std::tr1::uintptr_t my_uintptr_t;
60 #endif