--- gcc/testsuite/g++.dg/ext/utf16-1.C.old 2013-07-13 16:56:08.500387672 -0400 +++ gcc/testsuite/g++.dg/ext/utf16-1.C 2013-07-13 16:58:06.633726139 -0400 @@ -19,11 +19,15 @@ const static char16_t c9 = L'a'; const static char16_t ca = L'\u2029'; const static char16_t cb = L'\u8010'; +const static char16_t cc = u'\uFFFF'; + #define A 0x0061 #define D 0x0024 #define X 0x2029 #define Y 0x8010 +#define Z 0xFFFF + int main () { if (sizeof (u'a') != sizeof (char16_t)) @@ -62,4 +66,7 @@ int main () abort (); if (cb != Y) abort (); + + if (cc != Z) + abort(); }