source: EcnlProtoTool/trunk/tcc-0.9.27/tests/pp/02.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: 598 bytes
Line 
1#define x 3
2#define f(a) f(x * (a))
3#undef x
4#define x 2
5#define g f
6#define z z[0]
7#define h g(~
8#define m(a) a(w)
9#define w 0,1
10#define t(a) a
11#define p() int
12#define q(x) x
13#define r(x,y) x ## y
14#define str(x) # x
15f(y+1) + f(f(z)) % t(t(g)(0) + t)(1);
16g(x+(3,4)-w) | h 5) & m
17(f)^m(m);
18char c[2][6] = { str(hello), str() };
19/*
20 * f(2 * (y+1)) + f(2 * (f(2 * (z[0])))) % f(2 * (0)) + t(1);
21 * f(2 * (2+(3,4)-0,1)) | f(2 * (~ 5)) & f(2 * (0,1))^m(0,1);
22 * char c[2][6] = { "hello", "" };
23 */
24#define L21 f(y+1) + f(f(z)) % t(t(g)(0) + t)(1);
25#define L22 g(x+(3,4)-w) | h 5) & m\
26(f)^m(m);
27L21
28L22
Note: See TracBrowser for help on using the repository browser.