Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/c-c++-common/raw-string-19.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 1 /* PR preprocessor/57824 */ |
2 /* { dg-do compile } */ | |
3 /* { dg-options "-std=gnu99 -fdump-tree-optimized-lineno -save-temps" { target c } } */ | |
4 /* { dg-options "-std=c++11 -fdump-tree-optimized-lineno -save-temps" { target c++ } } */ | |
5 | |
6 const char x[] = R"( | |
7 abc | |
8 def | |
9 ghi | |
10 )"; | |
11 | |
12 int | |
13 main () | |
14 { | |
15 extern void foo (); foo (); | |
16 return 0; | |
17 } | |
18 | |
19 /* Verify call to foo is on line 15. */ | |
20 /* { dg-final { scan-tree-dump "c:15:\[^\n\r\]*foo" "optimized" } } */ |