summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/cpp/pr28709.c
blob: 11cccbe8b5d33f4bfd970afbf8a7a601f81a8a91 (plain)
1
2
3
4
5
6
7
8
/* Copyright (C) 2006 Free Software Foundation, Inc.  */
/* PR preprocessor/28709 */

/* { dg-do compile } */
#define foo - ## >>
foo;
/* { dg-error "expected identifier.*'-'" "" { target *-*-* } 6 } */
/* { dg-error pasting "" { target *-*-* } 6 } */