source: EcnlProtoTool/trunk/tcc-0.9.27/tests/pp/11.c@ 331

Last change on this file since 331 was 331, checked in by coas-nagasima, 6 years ago

prototoolに関連するプロジェクトをnewlibからmuslを使うよう変更・更新
ntshellをnewlibの下位の実装から、muslのsyscallの実装に変更・更新
以下のOSSをアップデート
・mruby-1.3.0
・musl-1.1.18
・onigmo-6.1.3
・tcc-0.9.27
以下のOSSを追加
・openssl-1.1.0e
・curl-7.57.0
・zlib-1.2.11
以下のmrbgemsを追加
・iij/mruby-digest
・iij/mruby-env
・iij/mruby-errno
・iij/mruby-iijson
・iij/mruby-ipaddr
・iij/mruby-mock
・iij/mruby-require
・iij/mruby-tls-openssl

  • Property svn:eol-style set to native
  • Property svn:mime-type set to text/x-csrc
File size: 628 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
11x D4(a, b, c, d) y
12x D4(a, b, c) y
13x D4(a, b) y
14x D4(a) y
15x D4() y
16
17#define GNU_COMMA(X,Y...) X,## Y
18
19x GNU_COMMA(A,B,C) y
20x GNU_COMMA(A,B) y
21x GNU_COMMA(A) y
22x GNU_COMMA() y
23
24#define __sun_attr___noreturn__ __attribute__((__noreturn__))
25#define ___sun_attr_inner(__a) __sun_attr_##__a
26#define __sun_attr__(__a) ___sun_attr_inner __a
27#define __NORETURN __sun_attr__((__noreturn__))
28__NORETURN
29#define X(...)
30#define Y(...) 1 __VA_ARGS__ 2
31Y(X X() ())
Note: See TracBrowser for help on using the repository browser.