view tests/parser/function_pointer.d @ 179:2a1a635bd531

Changes the way messages can be displayed. Also added a toString to DType's for type printing.
author Anders Johnsen <skabet@gmail.com>
date Fri, 25 Jul 2008 01:21:07 +0200
parents dc9bf56b7ace
children 08b6ce45b456
line wrap: on
line source


int main()
{
    f = &&foo;
}

int foo(int x)
{
    return x;
}

int function(int x)* f;