Commit 553355fe by Richard Henderson Committed by Richard Henderson

* gcc.c-torture/execute/wchar_t-1.c: Convert to utf-8.

From-SVN: r74491
parent 5ca18844
2003-12-10 Richard Henderson <rth@redhat.com> 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. * gcc.dg/intermod-1.c: Adjust assembler scan pattern for alpha.
2003-12-08 Matt Austern <austern@apple.com> 2003-12-08 Matt Austern <austern@apple.com>
......
typedef __WCHAR_TYPE__ wchar_t; typedef __WCHAR_TYPE__ wchar_t;
wchar_t x[] = L""; wchar_t x[] = L"Ä";
wchar_t y = L''; wchar_t y = L'Ä';
extern void abort (void); extern void abort (void);
extern void exit (int); extern void exit (int);
...@@ -8,9 +8,9 @@ int main (void) ...@@ -8,9 +8,9 @@ int main (void)
{ {
if (sizeof (x) / sizeof (wchar_t) != 2) if (sizeof (x) / sizeof (wchar_t) != 2)
abort (); abort ();
if (x[0] != L'' || x[1] != L'\0') if (x[0] != L'Ä' || x[1] != L'\0')
abort (); abort ();
if (y != L'') if (y != L'Ä')
abort (); abort ();
exit (0); exit (0);
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment