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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [cpp/] [backslash.c] - Rev 149

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

/* Test backslash newline with and without trailing spaces.  */
 
#define alpha(a, b, c) \
	a, \
	b, \
	c
 
/* Note the trailing whitespace on the next three lines.  */
#define beta(a, b, c) \ 
	a, \	
	b, \ 	
	c
 
/* { dg-warning "separated by space" "space" { target *-*-* } 9 } */
/* { dg-warning "separated by space" "tab" { target *-*-* } 10 } */
/* { dg-warning "separated by space" "space and tab" { target *-*-* } 11 } */
 
int x[] = {
   alpha(1, 2, 3),
   beta(4, 5, 6)
};
 

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.