Mercurial > projects > ldc
view tangotests/m.d @ 146:ddfdae91281a trunk
[svn r151] fixed #29: out contracts work now
author | ChristianK |
---|---|
date | Mon, 10 Mar 2008 19:29:39 +0100 |
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*,...);