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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [cpp/] [macro9.c] - Rev 154

Go to most recent revision | 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
 

Go to most recent revision | 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.