view test/fail1.d @ 167:adca7f32fb6d trunk

[svn r183] Fixed broken identity expressions with two pointers of different types. Fixed broken pointer arithmetic for subtraction (tango.text.Util unittest now passes)
author lindquist
date Tue, 06 May 2008 01:23:02 +0200
parents d8dd47ef3973
children
line wrap: on
line source

module fail1;

void func()
{
    float* fp;
    float f = *fp;
}

void main()
{
    func();
}