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] - Blame information for rev 154

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
/* Test backslash newline with and without trailing spaces.  */
2
 
3
#define alpha(a, b, c) \
4
        a, \
5
        b, \
6
        c
7
 
8
/* Note the trailing whitespace on the next three lines.  */
9
#define beta(a, b, c) \ 
10
        a, \
11
        b, \
12
        c
13
 
14
/* { dg-warning "separated by space" "space" { target *-*-* } 9 } */
15
/* { dg-warning "separated by space" "tab" { target *-*-* } 10 } */
16
/* { dg-warning "separated by space" "space and tab" { target *-*-* } 11 } */
17
 
18
int x[] = {
19
   alpha(1, 2, 3),
20
   beta(4, 5, 6)
21
};

powered by: WebSVN 2.1.0

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