1 /* { dg-do compile } */
2 /* { dg-options "-Wwrite-strings" } */
3 /* The purpose of this test is to ensure that line numbers in diagnostics
4 are accurate after macros whose arguments contain newlines and are
5 substituted multiple times. The semicolons are on separate lines because
6 #line can only correct numbering on line boundaries. */
9 #define four(x) two(x) two(x)
16 A
= "text"; /* { dg-warning "discards qualifiers" "case zero" } */
19 ; /* { dg-warning "discards qualifiers" "case one" } */
22 ; /* { dg-warning "discards qualifiers" "case two" } */
25 ; /* { dg-warning "discards qualifiers" "case four" } */