summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/20010325-1.c
blob: 100679fa1848a4ee89df02d958dad5b29250cf86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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);
}