OSDN Git Service

* gcc.c-torture/execute/wchar_t-1.c: Convert to utf-8.
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 10 Dec 2003 09:34:10 +0000 (09:34 +0000)
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 10 Dec 2003 09:34:10 +0000 (09:34 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@74491 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 5fc36c5..e6c72cf 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 51f91d6..3efdcf5 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);
 }