view tangotests/debug5.d @ 296:0548a7720a1b trunk

[svn r317] Convert result of _adEq runtime function to bool to make sure EqualExp returns i1 bool.
author ChristianK
date Mon, 23 Jun 2008 19:08:32 +0200
parents d61ce72c39ab
children
line wrap: on
line source

module tangotests.debug5;

void main()
{
    int i = 32;
    real r = 3.1415;
    real* p = &r;
    func(i,r,p);
}

void func(int i, real r, real* p)
{
    int* fail;
    *fail = 666;
}