Commit a210651e by Andreas Jaeger Committed by Andreas Jaeger

widechar-2.c: New test for wchar_t constant by Ulrich Drepper <drepper@redhat.com>.

	* gcc.c-torture/execute/widechar-2.c: New test for wchar_t
	constant by Ulrich Drepper <drepper@redhat.com>.

From-SVN: r36369
parent 8b267da0
2000-09-12 Andreas Jaeger <aj@suse.de>
* gcc.c-torture/execute/widechar-2.c: New test for wchar_t
constant by Ulrich Drepper <drepper@redhat.com>.
Tue Sep 12 18:32:07 2000 J"orn Rennecke <amylaar@redhat.co.uk>
* gcc.c-torture/compile/981006-1.x: No -fpic for sh-coff / sh-hms.
......
#include <stddef.h>
const wchar_t ws[] = L"foo";
int
main (void)
{
if (ws[0] != L'f' || ws[1] != L'o' || ws[2] != L'o' || ws[3] != L'\0')
abort();
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