* gcc.dg/cpp/backslash2.c

From-SVN: r38073
This commit is contained in:
Neil Booth 2000-12-06 20:14:32 +00:00 committed by Neil Booth
parent c673abe457
commit 176cb77883
2 changed files with 18 additions and 0 deletions

View file

@ -1,3 +1,7 @@
2000-12-06 Neil Booth <neilb@earthling.net>
* gcc.dg/cpp/backslash2.c: New tests.
2000-12-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* testsuite/gcc.c-torture/execute/stdio-opt-1.c: Add more checks.

View file

@ -0,0 +1,14 @@
/* Copyright (C) 2000 Free Software Foundation, Inc. */
/* { dg-do preprocess } */
/* Test warnings for backslash-space-newline.
Source: Neil Booth. 6 Dec 2000. */
foo \
bar
/* { dg-warning "separated by space" "" { target *-*-* } 8 } */
/* foo \
bar */
/* { dg-bogus "separated by space" "" { target *-*-* } 12 } */