view tests/mini/switch5.d @ 700:716684a0d63f

Updated rebuild profile for .o output as default, compiler needs to be fixed still. Fixed segfault with ' ldc foo.o -offoo '.
author Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
date Mon, 13 Oct 2008 18:19:43 +0200
parents 1bb99290e03a
children
line wrap: on
line source

module tangotests.switch2;

void main()
{
    int i=0;
    switch(i)
    {
    case 0:
        return;
    case 1:
        return;
    default:
        assert(0);
    }
}