Debian Codegraph @

gcc/testsuite/gcc.dg/cpp/backslash.c

raw
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 first three lines of beta def. */
9 /* { dg-warning "separated by space" "space" { target *-*-* } .+3 } */
10 /* { dg-warning "separated by space" "tab" { target *-*-* } .+3 } */
11 /* { dg-warning "separated by space" "space and tab" { target *-*-* } .+3 } */
12 #define beta(a, b, c) \
13 a, \
14 b, \
15 c
16
17 int x[] = {
18 alpha(1, 2, 3),
19 beta(4, 5, 6)
20 };