summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/cpp/spacing2.c
blob: 6cfa5a3d35ad6f4ab80700a13fcd12ca1fae80ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* Copyright (C) 2001, 2003 Free Software Foundation, Inc.  */

/* { dg-do preprocess } */

/* We used to output an unnecessary leading space, leading to Emacs
   confusion with its Makefile abuse.

   Neil Booth, 12 Oct 2001.  */

#define EMPTY
#define foo bar

a = EMPTY
foo..				/* No leading space on output.  */

/* { dg-final { scan-file spacing2.i "(^|\n)bar\.\." } } */