* gcc.c-torture/execute/20010325-1.c: New test.
From-SVN: r40831
This commit is contained in:
parent
273c324497
commit
eb40d6b94a
2 changed files with 19 additions and 0 deletions
|
@ -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.
|
||||
|
|
15
gcc/testsuite/gcc.c-torture/execute/20010325-1.c
Normal file
15
gcc/testsuite/gcc.c-torture/execute/20010325-1.c
Normal 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);
|
||||
}
|
Loading…
Add table
Reference in a new issue