source: branches/libc-0.6/testcase/456/inc/inc.h

Last change on this file was 680, checked in by bird, 22 years ago

Testcase for shitloads of includes containing code.

  • Property cvs2svn:cvs-rev set to 1.1
  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 348 bytes
Line 
1/* base include template.
2 * add #define INC_NO to the top of it.
3 */
4
5#ifndef INC_NO
6#define INC_NO
7#endif
8#define _INC_CAT(a,b) b##a
9#define INC_CAT(a) _INC_CAT(INC_NO, a)
10
11extern int _INC_CAT( INC_NO , giInc);
12
13#ifdef INC_CODE
14int INC_CAT(inc) (int i)
15{
16 i += 1;
17 return i;
18}
19#endif
20
21#undef INC_NO
22#undef _INC_CAT
23#undef INC_CAT
Note: See TracBrowser for help on using the repository browser.