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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
/* Copyright (C) 2000 Free Software Foundation, Inc.  */
2
 
3
/* { dg-do preprocess } */
4
/* { dg-options "" } */
5
 
6
/* This testcase used to produce a bogus "invalid paste" warning, owing
7
   to not clearing a PASTE_LEFT flag.  */
8
 
9
#define strcpy(src) __strcpy_small (src)
10
 
11
#define __strcpy_small(src) src
12
 
13
#define tprintf(format, args...) sprintf(format, ## args)
14
 
15
strcpy(tprintf("<%s>", test))

powered by: WebSVN 2.1.0

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