comparison tests/code/function_pointer_1.d @ 208:41ccd50e7cbc

Added missing tests
author Anders Johnsen <skabet@gmail.com>
date Tue, 12 Aug 2008 18:21:06 +0200
parents 5f7e2f2344a5
children
comparison
equal deleted inserted replaced
207:e0551773a005 208:41ccd50e7cbc
1
2 struct A
3 {
4 int foo(int a)
5 {
6 return a;
7 }
8 int x;
9 }
10
11 void main()
12 {
13 A a;
14 int* d = &a.x;
15 }