Mercurial > projects > ldc
view tangotests/p.d @ 136:0e28624814e8 trunk
[svn r140] did a lot of the work towards being able to pass multiple modules on the command line. not complete yet though
author | lindquist |
---|---|
date | Thu, 17 Jan 2008 03:15:12 +0100 |
parents | 0dec7b3727ea |
children |
line wrap: on
line source
extern(C) int printf(char*, ...); int main(char[][] args) { printf("getint\n"); int i = getint(); printf("assert true\n"); assert(i == 1234); printf("assert false\n"); assert(i != 1234); printf("return\n"); return 0; } int getint() { return 1234; }