URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 301 |
Rev 338 |
/* Contributed by Kris Van Hees */
|
/* Contributed by Kris Van Hees */
|
/* Test parsing of u and U prefixes when also used as macros. */
|
/* Test parsing of u and U prefixes when also used as macros. */
|
/* { dg-do compile } */
|
/* { dg-do compile } */
|
/* { dg-options "-std=gnu++0x" } */
|
/* { dg-options "-std=gnu++0x" } */
|
|
|
#define u L
|
#define u L
|
#define U L
|
#define U L
|
|
|
const unsigned short c2 = u'a';
|
const unsigned short c2 = u'a';
|
const unsigned long c3 = U'a';
|
const unsigned long c3 = U'a';
|
const void *s0 = u"a";
|
const void *s0 = u"a";
|
const void *s1 = U"a";
|
const void *s1 = U"a";
|
|
|
int main () {}
|
int main () {}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.