view tangotests/m.d @ 191:2900754a6989 trunk

[svn r207] Fixed: the runtime support didn't handle string switch.
author lindquist
date Mon, 12 May 2008 14:58:55 +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*,...);