2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / gcc.dg / cpp / backslash2.c
blob65142d9309d0547cee77b83e17766d1922dd5b56
1 /* Copyright (C) 2000 Free Software Foundation, Inc. */
3 /* { dg-do preprocess } */
5 /* Test warnings for backslash-space-newline.
6 Source: Neil Booth. 6 Dec 2000. */
8 foo \
9 bar
10 /* { dg-warning "separated by space" "" { target *-*-* } 8 } */
12 /* foo \
13 bar */
14 /* { dg-bogus "separated by space" "" { target *-*-* } 12 } */