OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [ext/] [utf-gnuxx0x.C] - Blame information for rev 693

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
/* Contributed by Kris Van Hees  */
2
/* Test parsing of u and U prefixes when also used as macros. */
3
/* { dg-do compile } */
4
/* { dg-options "-std=gnu++0x" } */
5
 
6
#define u       L
7
#define U       L
8
 
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";
13
 
14
int main () {}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.