view tangotests/p.d @ 139:0ab29b838084 trunk

[svn r143] Fixed: a few bugs in debug information, still only line info, but should be correct files now :) Fixed: tango.io.Console seems to be working now.
author lindquist
date Tue, 22 Jan 2008 00:01:16 +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;
}