Mercurial > projects > ldc
view tangotests/p.d @ 163:a8cd9bc1021a trunk
[svn r179] lots and lots of fixes, much more of tango now compiles/works.
author | lindquist |
---|---|
date | Mon, 05 May 2008 07:36:29 +0200 |
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; }