summaryrefslogtreecommitdiffstats
path: root/gcc/testsuite/gcc.dg/cpp/20000625-1.c
blob: ddfdb99459222953047c7e876c75efae4b3285c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* Regression test for paste corner cases.  Distilled from
   syscall stub logic in glibc.  */

/* { dg-do compile } */

#define ENTRY(name)	name##:
#define socket bind

int
main(void)
{
  goto socket;

  ENTRY(socket) /* { dg-warning "valid preprocessing token" "" } */
    return 0;
}
OpenPOWER on IntegriCloud