* gcc.dg/cpp/backslash2.c
From-SVN: r38073
This commit is contained in:
parent
c673abe457
commit
176cb77883
2 changed files with 18 additions and 0 deletions
|
@ -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.
|
||||
|
|
14
gcc/testsuite/gcc.dg/cpp/backslash2.c
Normal file
14
gcc/testsuite/gcc.dg/cpp/backslash2.c
Normal 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 } */
|
Loading…
Add table
Reference in a new issue