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