2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / gcc.dg / cpp / backslash.c
blobf1b094a0b844d0b040f2d956ad82f14ae10edd8f
1 /* Test backslash newline with and without trailing spaces. */
3 #define alpha(a, b, c) \
4 a, \
5 b, \
8 /* Note the trailing whitespace on the next three lines. */
9 #define beta(a, b, c) \
10 a, \
11 b, \
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 } */
18 int x[] = {
19 alpha(1, 2, 3),
20 beta(4, 5, 6)