OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [cpp/] [multiline.c] - Blame information for rev 689

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
/* Copyright (C) 2000, 2003 Free Software Foundation, Inc.  */
2
/* { dg-do preprocess } */
3
/* { dg-options "-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
10
*/
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 } */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.