OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [cpp/] [20000625-1.c] - Blame information for rev 689

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
 
2
/* Regression test for paste corner cases.  Distilled from
3
   syscall stub logic in glibc.  */
4
 
5
/* { dg-do compile } */
6
 
7
#define ENTRY(name)     name##:
8
#define socket bind
9
 
10
int
11
main(void)
12
{
13
  goto socket;
14
 
15
  ENTRY(socket) /* { dg-error "valid preprocessing token" "" } */
16
    return 0;
17
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.