Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1364)

Side by Side Diff: gcc/gcc/testsuite/gcc.dg/cpp/separate-1.c

Issue 3050029: [gcc] GCC 4.5.0=>4.5.1 (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/nacl-toolchain.git
Patch Set: Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « gcc/gcc/testsuite/gcc.dg/cpp/poison.c ('k') | gcc/gcc/testsuite/gcc.dg/cpp/strify2.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Copyright 2003 Free Software Foundation. */ 1 /* Copyright 2003 Free Software Foundation. */
2 2
3 /* { dg-do compile } */ 3 /* { dg-do compile } */
4 /* { dg-options "-save-temps" } */ 4 /* { dg-options "-save-temps" } */
5 5
6 /* Make sure we report errors in the right line, even if separate 6 /* Make sure we report errors in the right line, even if separate
7 preprocessing is used. */ 7 preprocessing is used. */
8 8
9 #define FOO() 9 #define FOO()
10 10
11 int FOO( /* { dg-error "parse error|syntax error|expected" "error on this line" } */ 11 int FOO(
12 » ), bar; 12 » ), bar; /* { dg-error "parse error|syntax error|expected" "error on this line" } */
13 13
14 int baz FOO /* { dg-error "parse error|syntax error|expected" "error on this lin e" } */ 14 int baz FOO /* { dg-error "parse error|syntax error|expected" "error on this lin e" } */
15 ; 15 ;
16 16
17 /* { dg-final { cleanup-saved-temps } } */ 17 /* { dg-final { cleanup-saved-temps } } */
OLDNEW
« no previous file with comments | « gcc/gcc/testsuite/gcc.dg/cpp/poison.c ('k') | gcc/gcc/testsuite/gcc.dg/cpp/strify2.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698