Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/cpp/multiline-2.c @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 1 /* Copyright (C) 2000, 2003 Free Software Foundation, Inc. */ |
2 | |
3 /* { dg-do compile } */ | |
4 | |
5 /* Test that multi-line tokens are rejected by the compiler. Source: | |
6 Neil Booth. */ | |
7 | |
8 const char *p = "line 1 | |
9 " | |
10 ""; /* The compiler front end sees this. */ | |
11 /* { dg-error "17:missing term" "multiline strings" { target *-*-* } .-3 } */ | |
12 /* { dg-error "missing term" "multiline strings" { target *-*-* } .-3 } */ | |
13 |