view tests/mini/norun_debug5.d @ 1093:cb868105a6b5

Change x64 asm in Cache.d from a positive offset from after rbp "-20(%rbp)+4" to before "4+-20(%rbp)"
author Kelly Wilson <wilsonk cpsc.ucalgary.ca>
date Tue, 10 Mar 2009 22:02:11 -0600
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;
}