Debian Codegraph @

gcc/testsuite/c-c++-common/cpp/Wtrailing-whitespace-5.c

raw
1 /* { dg-do compile { target { c || c++11 } } } */
2 /* { dg-options "-Wno-trailing-whitespace" } */
3
4 int i;
5 int j;
6 int \
7 k \
8 ;
9 /* { dg-warning "backslash and newline separated by space" "" { target *-*-* } .-3 } */
10 /* { dg-warning "backslash and newline separated by space" "" { target *-*-* } .-3 } */
11
12
13
14
15
16
17 const char *p = R"*|*(
18
19
20 .
21 )*|*";
22 // This is a comment with trailing whitespace
23 /* This is a comment with trailing whitespace
24 */
25 // This is a comment with trailing whitespace
26 /* This is a comment with trailing whitespace
27 */
28