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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [cpp/] [vararg4.c] - Blame information for rev 801

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
/* Copyright (C) 2002 Free Software Foundation, Inc.  */
2
 
3
/* { dg-do preprocess } */
4
/* { dg-options -std=gnu99 } */
5
 
6
/* Source: Neil Booth, 6 Aug 2002.
7
 
8
   Tests that we DTRT with varargs commas.  */
9
 
10
#define g(a, ...) a , ## __VA_ARGS__
11
 
12
/* The comma from g's expansion should be retained.  */
13
#if g (2, ) 3             /* { dg-bogus "missing binary operator" } */
14
#endif

powered by: WebSVN 2.1.0

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