lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
Last change
on this file since 9d58539 was 9d58539, checked in by Prutkov Alex <prutkov.alex@…>, 14 years ago |
|
Fixed unix permissions for all files
|
-
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 |
|
|---|
| 6 | D1(a)
|
|---|
| 7 | D2(a, b)
|
|---|
| 8 | D3(a, b, c)
|
|---|
| 9 | D4(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
|
|---|
| 19 | Y(X X() ())
|
|---|
| 20 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.