comparison 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
comparison
equal deleted inserted replaced
177:491b5fc4782a 178:5f7e2f2344a5
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 }