* gcc.c-torture/execute/wchar_t-1.c: Convert to utf-8.
authorRichard Henderson <rth@redhat.com>
Wed, 10 Dec 2003 09:34:10 +0000 (01:34 -0800)
committerRichard Henderson <rth@gcc.gnu.org>
Wed, 10 Dec 2003 09:34:10 +0000 (01:34 -0800)
From-SVN: r74491

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/wchar_t-1.c

index 5fc36c5c9fb1a49f2212756281f3f509f6706cd6..e6c72cf53c87c66a66beefc0e8e2683789a30fc3 100644 (file)
@@ -1,5 +1,7 @@
 2003-12-10  Richard Henderson  <rth@redhat.com>
 
+       * gcc.c-torture/execute/wchar_t-1.c: Convert to utf-8.
+
        * gcc.dg/intermod-1.c: Adjust assembler scan pattern for alpha.
 
 2003-12-08  Matt Austern  <austern@apple.com>
index 51f91d6ad461f797f0fac81c9df0e02c27825cd6..3efdcf5a038388c64aa1010fb2cb1a05b92dbce2 100644 (file)
@@ -1,6 +1,6 @@
 typedef __WCHAR_TYPE__ wchar_t;
-wchar_t x[] = L"Ä";
-wchar_t y = L'Ä';
+wchar_t x[] = L"Ä";
+wchar_t y = L'Ä';
 extern void abort (void);
 extern void exit (int);
 
@@ -8,9 +8,9 @@ int main (void)
 {
   if (sizeof (x) / sizeof (wchar_t) != 2)
     abort ();
-  if (x[0] != L'Ä' || x[1] != L'\0')
+  if (x[0] != L'Ä' || x[1] != L'\0')
     abort ();
-  if (y != L'Ä')
+  if (y != L'Ä')
     abort ();
   exit (0);
 }