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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [cpp/] [macro9.c] - Rev 689

Compare with Previous | Blame | View Log

/* Copyright (C) 2001 Free Software Foundation, Inc.  */
 
/* { dg-do compile } */
 
/* Source: Neil Booth, 15 Sep 2001.
 
   A silly test to check that if a function-like macro name is
   immediately followed by a directive, then we process the directive
   properly.  */
 
#define main()
int main
#define mainbody () { return 0; }
mainbody
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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