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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [utf-dflt2.c] - Rev 754

Go to most recent revision | Compare with Previous | Blame | View Log

/* If not gnu99, the u8 prefix should be parsed as separate tokens. */
/* { dg-do compile } */
/* { dg-options "" } */
 
const void	*s0 = u8"a";		/* { dg-error "undeclared" } */
		/* { dg-error "expected ',' or ';'" "" { target *-*-* } 5 } */
 
#define u8	"a"
 
const void	*s1 = u8"a";
 
int main () {}
 

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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