* gcc.dg/predict-12.c: New testcase.
[official-gcc.git] / gcc / testsuite / gcc.dg / cpp / multiline.c
blob970cf2faa0ca17f13fc99694c88183af44d84748
1 /* Copyright (C) 2000, 2003 Free Software Foundation, Inc. */
2 /* { dg-do preprocess } */
3 /* { dg-options "-nostdinc -C" } */
4 /* Test that multi-line tokens are recognized by cpp0 as being
5 multiline . Source: Neil Booth, 17 Dec 2000. */
6 /* Line 1
7 Line 2
8 Line 3
9 Line 4
11 "line 1
12 line 2
13 line 3
14 line 4"
15 L"line 1
16 line 2
17 line 3
18 line 4"
19 /* Nowhere in the output of this file should there be a blank line.
20 We check for that in the .i file.
21 { dg-final { scan-file-not multiline.i "(^|\\n)\\n" } } */
22 /* { dg-warning "missing term" "multiline strings" { target *-*-* } 11 } */
23 /* { dg-warning "missing term" "multiline strings" { target *-*-* } 14 } */
24 /* { dg-warning "missing term" "multiline strings" { target *-*-* } 15 } */
25 /* { dg-warning "missing term" "multiline strings" { target *-*-* } 18 } */