view tests/mini/norun_debug5.d @ 512:0d286cd9fd08

Add interface comparison to EqualExp: just do pointer comparison. Fixes run/b/bug_e2ir_1786_B,C.
author Christian Kamm <kamm incasoftware de>
date Fri, 15 Aug 2008 22:41:47 +0200
parents 24ea9bf5f8b7
children 925779c19395
line wrap: on
line source

module mini.norun_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;
}