view tangotests/m.d @ 187:bde2bb731323 trunk

[svn r203] moving tests into separate folder, added readme
author ChristianK
date Thu, 08 May 2008 22:49:28 +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*,...);