Last change
on this file since 455 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:
862 bytes
|
Rev | Line | |
---|
[331] | 1 | #include <stdio.h>
|
---|
| 2 |
|
---|
| 3 | int main()
|
---|
| 4 | {
|
---|
| 5 | printf("#include test\n");
|
---|
| 6 |
|
---|
| 7 | #if 1
|
---|
| 8 | #if 0
|
---|
| 9 | printf("a\n");
|
---|
| 10 | #else
|
---|
| 11 | printf("b\n");
|
---|
| 12 | #endif
|
---|
| 13 | #else
|
---|
| 14 | #if 0
|
---|
| 15 | printf("c\n");
|
---|
| 16 | #else
|
---|
| 17 | printf("d\n");
|
---|
| 18 | #endif
|
---|
| 19 | #endif
|
---|
| 20 |
|
---|
| 21 | #if 0
|
---|
| 22 | #if 1
|
---|
| 23 | printf("e\n");
|
---|
| 24 | #else
|
---|
| 25 | printf("f\n");
|
---|
| 26 | #endif
|
---|
| 27 | #else
|
---|
| 28 | #if 1
|
---|
| 29 | printf("g\n");
|
---|
| 30 | #else
|
---|
| 31 | printf("h\n");
|
---|
| 32 | #endif
|
---|
| 33 | #endif
|
---|
| 34 |
|
---|
| 35 | #define DEF
|
---|
| 36 |
|
---|
| 37 | #ifdef DEF
|
---|
| 38 | #ifdef DEF
|
---|
| 39 | printf("i\n");
|
---|
| 40 | #else
|
---|
| 41 | printf("j\n");
|
---|
| 42 | #endif
|
---|
| 43 | #else
|
---|
| 44 | #ifdef DEF
|
---|
| 45 | printf("k\n");
|
---|
| 46 | #else
|
---|
| 47 | printf("l\n");
|
---|
| 48 | #endif
|
---|
| 49 | #endif
|
---|
| 50 |
|
---|
| 51 | #ifndef DEF
|
---|
| 52 | #ifndef DEF
|
---|
| 53 | printf("m\n");
|
---|
| 54 | #else
|
---|
| 55 | printf("n\n");
|
---|
| 56 | #endif
|
---|
| 57 | #else
|
---|
| 58 | #ifndef DEF
|
---|
| 59 | printf("o\n");
|
---|
| 60 | #else
|
---|
| 61 | printf("p\n");
|
---|
| 62 | #endif
|
---|
| 63 | #endif
|
---|
| 64 |
|
---|
| 65 | #define ONE 1
|
---|
| 66 | #define ZERO 0
|
---|
| 67 |
|
---|
| 68 | #if ONE
|
---|
| 69 | #if ZERO
|
---|
| 70 | printf("q\n");
|
---|
| 71 | #else
|
---|
| 72 | printf("r\n");
|
---|
| 73 | #endif
|
---|
| 74 | #else
|
---|
| 75 | #if ZERO
|
---|
| 76 | printf("s\n");
|
---|
| 77 | #else
|
---|
| 78 | printf("t\n");
|
---|
| 79 | #endif
|
---|
| 80 | #endif
|
---|
| 81 |
|
---|
| 82 | return 0;
|
---|
| 83 | }
|
---|
| 84 |
|
---|
| 85 | /* vim: set expandtab ts=4 sw=3 sts=3 tw=80 :*/
|
---|
Note:
See
TracBrowser
for help on using the repository browser.