* gcc.dg/cpp/separate-1.c: New test.
From-SVN: r70147
This commit is contained in:
parent
4e87a65138
commit
b5d72edad6
@ -1,3 +1,7 @@
|
||||
2003-08-04 Alexandre Oliva <aoliva@redhat.com>
|
||||
|
||||
* gcc.dg/cpp/separate-1.c: New test.
|
||||
|
||||
2003-08-03 Nathan Sidwell <nathan@codesourcery.com>
|
||||
|
||||
PR c++/11704
|
||||
|
12
gcc/testsuite/gcc.dg/cpp/separate-1.c
Normal file
12
gcc/testsuite/gcc.dg/cpp/separate-1.c
Normal file
@ -0,0 +1,12 @@
|
||||
/* Copyright 2003 Free Software Foundation. */
|
||||
|
||||
/* { dg-do compile } */
|
||||
/* { dg-options "-save-temps" } */
|
||||
|
||||
/* Make sure we report errors in the right line, even if separate
|
||||
preprocessing is used. */
|
||||
|
||||
#define FOO()
|
||||
|
||||
int FOO(
|
||||
), bar; /* { dg-error "(parse|syntax) error" "error on this line" } */
|
Loading…
x
Reference in New Issue
Block a user