Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/cpp/separate-1.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
rev | line source |
---|---|
111 | 1 /* Copyright 2003 Free Software Foundation. */ |
2 | |
3 /* { dg-do compile } */ | |
4 /* { dg-options "-save-temps" } */ | |
5 | |
6 /* Make sure we report errors in the right line, even if separate | |
7 preprocessing is used. */ | |
8 | |
9 #define FOO() | |
10 | |
11 int FOO( | |
12 ), bar; /* { dg-error "parse error|syntax error|expected" "error on this line" } */ | |
13 | |
14 int baz FOO /* { dg-error "parse error|syntax error|expected" "error on this line" } */ | |
15 ; | |
16 |