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] - Diff between revs 149 and 154

Only display areas with differences | Details | Blame | View Log

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

powered by: WebSVN 2.1.0

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