summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/cpp/backslash2.c
blob: 65142d9309d0547cee77b83e17766d1922dd5b56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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 } */