2008-05-30 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git] / gcc / testsuite / g++.dg / ext / utf-gnuxx0x.C
blob0a6967fe40db77c2e37c5cf6dce0736e6811d81d
1 /* Contributed by Kris Van Hees <kris.van.hees@oracle.com> */
2 /* Test parsing of u and U prefixes when also used as macros. */
3 /* { dg-do compile } */
4 /* { dg-options "-std=gnu++0x" } */
6 #define u       L
7 #define U       L
9 const unsigned short    c2      = u'a';
10 const unsigned long     c3      = U'a';
11 const void              *s0     = u"a";
12 const void              *s1     = U"a";
14 int main () {}