summaryrefslogtreecommitdiffstats
path: root/gcc/testsuite/gcc.dg/wchar_t-2.c
blob: 95ddca0e54b527d97162248e51465370672dbf43 (plain)
1
2
3
4
5
6
/* { dg-options "-fshort-wchar" } */
/* Check that "-fshort-wchar" makes wchar_t the same size as "unsigned
   short".  */

extern int i[sizeof (L'a')];
int i[sizeof (unsigned short)];
OpenPOWER on IntegriCloud