X-Git-Url: http://j8takagi.net/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=test%2Fsystem%2Fcomet2%2Ferr_210%2Fcreate_a.c;fp=test%2Fsystem%2Fcomet2%2Ferr_210%2Fcreate_a.c;h=0000000000000000000000000000000000000000;hb=8aa7ec78eb2670d38c077efa8a013d27fe38c19c;hp=619d795ca2041d7d023b3954aef6c8cb74bc347c;hpb=ab0dd2bae6695116666a81a70c09c9a20789e31e;p=YACASL2.git diff --git a/test/system/comet2/err_210/create_a.c b/test/system/comet2/err_210/create_a.c deleted file mode 100644 index 619d795..0000000 --- a/test/system/comet2/err_210/create_a.c +++ /dev/null @@ -1,22 +0,0 @@ -#include -#include -#include "cmem.h" -#include "word.h" - -/** - * 引数で指定したファイルにアセンブル結果を書込 - */ -int main() -{ - FILE *fp; - const WORD w[] = {0x1010, 0x0005, 0x2810, 0x0006, 0x8100, 0x0003, 0x0001}; - const char *f = "a.comet"; - - if((fp = fopen(f, "w")) == NULL) { - perror(f); - exit(-1); - } - fwrite(w, sizeof(WORD), ARRAYSIZE(w), fp); - fclose(fp); - return 0; -}