diff options
author | Joseph Myers <joseph@codesourcery.com> | 2008-11-06 22:16:38 +0000 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2008-11-06 22:16:38 +0000 |
commit | ad914b4ea86a50ecaf357d1f171df3671e9a3a9d (patch) | |
tree | d65082cc2c4901b5ba65c37eff4a25712c365f0c /gcc/testsuite/gcc.dg/utf-array-short-wchar.c | |
parent | 0a83b1b01d404507e7c82885c57ba96fcd81a8d9 (diff) | |
download | gcc-ad914b4ea86a50ecaf357d1f171df3671e9a3a9d.zip gcc-ad914b4ea86a50ecaf357d1f171df3671e9a3a9d.tar.gz gcc-ad914b4ea86a50ecaf357d1f171df3671e9a3a9d.tar.bz2 |
utf-array-short-wchar.c, [...]: Use __CHAR16_TYPE__ and __CHAR32_TYPE__ typedefs.
* gcc.dg/utf-array-short-wchar.c, gcc.dg/utf-cvt.c,
gcc.dg/utf-inc-init.c, gcc.dg/utf16-1.c, gcc.dg/utf16-2.c,
gcc.dg/utf16-3.c, gcc.dg/utf16-4.c, gcc.dg/utf32-1.c,
gcc.dg/utf32-2.c, gcc.dg/utf32-3.c, gcc.dg/utf32-4.c: Use
__CHAR16_TYPE__ and __CHAR32_TYPE__ typedefs.
From-SVN: r141656
Diffstat (limited to 'gcc/testsuite/gcc.dg/utf-array-short-wchar.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/utf-array-short-wchar.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/gcc.dg/utf-array-short-wchar.c b/gcc/testsuite/gcc.dg/utf-array-short-wchar.c index 7d8c319..b630510 100644 --- a/gcc/testsuite/gcc.dg/utf-array-short-wchar.c +++ b/gcc/testsuite/gcc.dg/utf-array-short-wchar.c @@ -5,8 +5,8 @@ #include <wchar.h> -typedef short unsigned int char16_t; -typedef unsigned int char32_t; +typedef __CHAR16_TYPE__ char16_t; +typedef __CHAR32_TYPE__ char32_t; const char s_0[] = "ab"; const char s_1[] = u"ab"; /* { dg-error "from wide string" } */ |