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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [cpp/] [backslash.c] - Blame information for rev 754

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

Line No. Rev Author Line
1 689 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.