aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/ext/utf-typedef-cxx98.C
blob: 8922856c2e20493aa5c273ac9717e94f729f5cea (plain)
1
2
3
4
5
6
7
/* Contributed by Kris Van Hees <kris.van.hees@oracle.com> */
/* Ensure that a typedef to char16_t/char32_t is fine in c++98. */
/* { dg-do compile } */
/* { dg-options "-std=c++98" } */

typedef short unsigned int	char16_t;
typedef unsigned int		char32_t;