aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/ext/utf-gnuxx0x.C
blob: 221ccf0934b801330d52cf98252c2bd194d4b509 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* Contributed by Kris Van Hees <kris.van.hees@oracle.com> */
/* Test parsing of u and U prefixes when also used as macros. */
/* { dg-do compile { target c++11 } } */

#define u	L
#define U	L

const unsigned short	c2	= u'a';
const unsigned long	c3	= U'a';
const void		*s0	= u"a";
const void		*s1	= U"a";

int main () {}