Mercurial > projects > dang
view tests/code/function_pointer_1.d @ 178:5f7e2f2344a5
Added another testcase.
author | Anders Johnsen <skabet@gmail.com> |
---|---|
date | Thu, 24 Jul 2008 23:36:38 +0200 |
parents | |
children |
line wrap: on
line source
struct A { int foo(int a) { return a; } int x; } void main() { A a; int* d = &a.x; }