Last change
on this file since 398 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:
420 bytes
|
Rev | Line | |
---|
[331] | 1 | #include <stdio.h>
|
---|
| 2 |
|
---|
| 3 | enum fred { a, b, c };
|
---|
| 4 |
|
---|
| 5 | int main()
|
---|
| 6 | {
|
---|
| 7 | printf("a=%d\n", a);
|
---|
| 8 | printf("b=%d\n", b);
|
---|
| 9 | printf("c=%d\n", c);
|
---|
| 10 |
|
---|
| 11 | enum fred d;
|
---|
| 12 |
|
---|
| 13 | typedef enum { e, f, g } h;
|
---|
| 14 | typedef enum { i, j, k } m;
|
---|
| 15 |
|
---|
| 16 | printf("e=%d\n", e);
|
---|
| 17 | printf("f=%d\n", f);
|
---|
| 18 | printf("g=%d\n", g);
|
---|
| 19 |
|
---|
| 20 | printf("i=%d\n", i);
|
---|
| 21 | printf("j=%d\n", j);
|
---|
| 22 | printf("k=%d\n", k);
|
---|
| 23 |
|
---|
| 24 | return 0;
|
---|
| 25 | }
|
---|
| 26 |
|
---|
| 27 | /* vim: set expandtab ts=4 sw=3 sts=3 tw=80 :*/
|
---|
Note:
See
TracBrowser
for help on using the repository browser.