OSDN Git Service

PR tree-optimization/52019
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / cpp / backslash.c
1 /* 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 };