* gcc.c-torture/execute/20010325-1.c: New test.

From-SVN: r40831
This commit is contained in:
Joseph Myers 2001-03-25 20:27:29 +01:00 committed by Joseph Myers
parent 273c324497
commit eb40d6b94a
2 changed files with 19 additions and 0 deletions

View file

@ -1,3 +1,7 @@
2001-03-25 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.c-torture/execute/20010325-1.c: New test.
2001-03-23 Jakub Jelinek <jakub@redhat.com>
* g++.old-deja/g++.other/mangle3.C: New test.

View file

@ -0,0 +1,15 @@
/* Origin: Joseph Myers <jsm28@cam.ac.uk>.
This tests for inconsistency in whether wide STRING_CSTs use the host
or the target endianness. */
extern void exit (int);
extern void abort (void);
int
main (void)
{
if (L"a" "b"[1] != L'b')
abort ();
exit (0);
}