Mercurial > projects > dang
view tests/parser/function_pointer.d @ 176:dc9bf56b7ace
Can now use & as a unary operator and take an AddressOf
author | Anders Johnsen <skabet@gmail.com> |
---|---|
date | Thu, 24 Jul 2008 23:03:18 +0200 |
parents | 01c2c49775ef |
children | 2a1a635bd531 |
line wrap: on
line source
int main() { f = &foo; } int foo(int x) { return x; } int function(int x) f;