view tangotests/m.d @ 316:163cad969791 trunk

[svn r337] Reverted changes to toobj.cpp: Module constructor calls can never be invokes.
author ChristianK
date Fri, 04 Jul 2008 08:51:49 +0200
parents 44a95ac7368a
children
line wrap: on
line source

void main()
{
    int* e = __errno_location();
    printf("&errno = %p\n", e);
    printf("errno = %d\n", *e);
}

extern(C):
int* __errno_location();
int printf(char*,...);