Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/cpp/multiline-2.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
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 |