source: mainline/uspace/app/pcc/cc/cpp/tests/test11@ d9f53877

lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
Last change on this file since d9f53877 was a7de7182, checked in by Jiří Zárevúcky <zarevucky.jiri@…>, 15 years ago

Added pcc source tree (contents of pcc-1.0.0.tgz)

  • Property mode set to 100644
File size: 455 bytes
Line 
1#define D1(s, ...) s
2#define D2(s, ...) s D1(__VA_ARGS__)
3#define D3(s, ...) s D2(__VA_ARGS__)
4#define D4(s, ...) s D3(__VA_ARGS__)
5
6D1(a)
7D2(a, b)
8D3(a, b, c)
9D4(a, b, c, d)
10
11
12#define __sun_attr___noreturn__ __attribute__((__noreturn__))
13#define ___sun_attr_inner(__a) __sun_attr_##__a
14#define __sun_attr__(__a) ___sun_attr_inner __a
15#define __NORETURN __sun_attr__((__noreturn__))
16__NORETURN
17#define X(...)
18#define Y(...) 1 __VA_ARGS__ 2
19Y(X X() ())
20
Note: See TracBrowser for help on using the repository browser.