diff options
author | Araq <rumpf_a@web.de> | 2014-07-15 09:37:45 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2014-07-15 09:37:45 +0200 |
commit | 6d3b632b47d626f6915dc2cbef8745baf04b8d76 (patch) | |
tree | cd2097090977d241065d1415bc9d0845689063f8 /compiler/c2nim/tests/vincent.c | |
parent | 41bb0bf9dcccdfcebdb0f823fea8b2853b89ea4e (diff) | |
parent | 5f8ab1653ad38faf395daf1b8a70249f6954b1ba (diff) | |
download | Nim-6d3b632b47d626f6915dc2cbef8745baf04b8d76.tar.gz |
Merge branch 'new_spawn' into devel
Conflicts: todo.txt web/news.txt web/nimrod.ini
Diffstat (limited to 'compiler/c2nim/tests/vincent.c')
-rw-r--r-- | compiler/c2nim/tests/vincent.c | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/compiler/c2nim/tests/vincent.c b/compiler/c2nim/tests/vincent.c deleted file mode 100644 index 24c6d6425..000000000 --- a/compiler/c2nim/tests/vincent.c +++ /dev/null @@ -1,33 +0,0 @@ -#include <stdlib.h> -#include <stdio.h> - -int rand(void); - -int id2(void) { - return (int *)1; -} - -int id(void (*f)(void)) { - f(); - ((void (*)(int))f)(10); - return 10; - return (20+1); - return (int *)id; -} - -int main() { - float f = .2, - g = 2., - h = 1.0+rand(), - i = 1.0e+3; - int j, a; - for(j = 0, a = 10; j < 0; j++, a++) ; - do { - printf("howdy"); - } while(--i, 0); - if(1) - printf("1"); // error from this comment - else - printf("2"); - return '\x00'; -} |