]>
Commit | Line | Data |
---|---|---|
2a1d6346 | 1 | // { dg-do compile } |
f2752f1d | 2 | // { dg-require-cstdint "" } |
2a1d6346 PC |
3 | |
4 | // 2006-01-29 Paolo Carlini <pcarlini@suse.de> | |
5 | // | |
818ab71a | 6 | // Copyright (C) 2006-2016 Free Software Foundation, Inc. |
2a1d6346 PC |
7 | // |
8 | // This file is part of the GNU ISO C++ Library. This library is free | |
9 | // software; you can redistribute it and/or modify it under the | |
10 | // terms of the GNU General Public License as published by the | |
748086b7 | 11 | // Free Software Foundation; either version 3, or (at your option) |
2a1d6346 PC |
12 | // any later version. |
13 | // | |
14 | // This library is distributed in the hope that it will be useful, | |
15 | // but WITHOUT ANY WARRANTY; without even the implied warranty of | |
16 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
17 | // GNU General Public License for more details. | |
18 | // | |
19 | // You should have received a copy of the GNU General Public License along | |
748086b7 JJ |
20 | // with this library; see the file COPYING3. If not see |
21 | // <http://www.gnu.org/licenses/>. | |
2a1d6346 PC |
22 | |
23 | // 8.22 Header <cstdint> | |
24 | ||
25 | #include <tr1/cstdint> | |
26 | ||
27 | void test01() | |
28 | { | |
52a64bd3 PC |
29 | typedef std::tr1::int8_t my_int8_t; |
30 | typedef std::tr1::int16_t my_int16_t; | |
31 | typedef std::tr1::int32_t my_int32_t; | |
32 | typedef std::tr1::int64_t my_int64_t; | |
33 | typedef std::tr1::int_fast8_t my_int_fast8_t; | |
34 | typedef std::tr1::int_fast16_t my_int_fast16_t; | |
35 | typedef std::tr1::int_fast32_t my_int_fast32_t; | |
f92ab29f | 36 | typedef std::tr1::int_fast64_t my_int_fast64_t; |
52a64bd3 PC |
37 | typedef std::tr1::int_least8_t my_int_least8_t; |
38 | typedef std::tr1::int_least16_t my_int_least16_t; | |
39 | typedef std::tr1::int_least32_t my_int_least32_t; | |
40 | typedef std::tr1::int_least64_t my_int_least64_t; | |
41 | typedef std::tr1::intmax_t my_intmax_t; | |
42 | typedef std::tr1::intptr_t my_intptr_t; | |
43 | typedef std::tr1::uint8_t my_uint8_t; | |
44 | typedef std::tr1::uint16_t my_uint16_t; | |
45 | typedef std::tr1::uint32_t my_uint32_t; | |
46 | typedef std::tr1::uint64_t my_uint64_t; | |
47 | typedef std::tr1::uint_fast8_t my_uint_fast8_t; | |
48 | typedef std::tr1::uint_fast16_t my_uint_fast16_t; | |
49 | typedef std::tr1::uint_fast32_t my_uint_fast32_t; | |
f92ab29f | 50 | typedef std::tr1::uint_fast64_t my_uint_fast64_t; |
52a64bd3 PC |
51 | typedef std::tr1::uint_least8_t my_uint_least8_t; |
52 | typedef std::tr1::uint_least16_t my_uint_least16_t; | |
53 | typedef std::tr1::uint_least32_t my_uint_least32_t; | |
54 | typedef std::tr1::uint_least64_t my_uint_least64_t; | |
55 | typedef std::tr1::uintmax_t my_uintmax_t; | |
56 | typedef std::tr1::uintptr_t my_uintptr_t; | |
2a1d6346 | 57 | } |