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

Subversion Repositories openrisc

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

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)
};
 

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.