aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/c-c++-common/pr91733.c
blob: 1539bb4f386d5fcbe621b852e3cd3b11913422e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* { dg-do preprocess } */
/* { dg-additional-options "-fdiagnostics-show-caret" } */

const char *s = "
";

/* { dg-warning "missing terminating \"" "test1" { target *-*-* } 4 } */
/* { dg-warning "missing terminating \"" "test2" { target *-*-* } 5 } */

/* { dg-begin-multiline-output "test3" }
 const char *s = "
                 ^
{ dg-end-multiline-output "test3" } */

/* { dg-begin-multiline-output "test4" }
 ";
 ^
{ dg-end-multiline-output "test4" } */