# HG changeset patch # User Shinji KONO # Date 1316797107 -32400 # Node ID d9cd16896b4a7af03ffb3235d8e597149caebf83 # Parent c0ad9d810b6c69dff4b37744bfe1f391b737cd99 add cloop.c diff -r c0ad9d810b6c -r d9cd16896b4a test/cloop.c --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test/cloop.c Sat Sep 24 01:58:27 2011 +0900 @@ -0,0 +1,23 @@ + + +char c[] = {0,1,2,3,4,5,6,7,8,9}; +short s[] = {0,1,2,3,4,5,6,7,8,9}; +int i[] = {0,1,2,3,4,5,6,7,8,9}; +long long l[] = {0,1,2,3,4,5,6,7,8,9}; + +main() +{ + int i; + for( i = 0;i<10;i++) { + printf("%d\n",c[i]); + } + for( i = 0;i<10;i++) { + printf("%d\n",s[i]); + } + for( i = 0;i<10;i++) { + printf("%d\n",i[i]); + } + for( i = 0;i<10;i++) { + printf("%ld\n",l[i]); + } +}