comparison tests/code/func_1.d @ 206:d3c148ca429b

Major moving of files. all src now goes into src, all docs in docs.
author Anders Johnsen <skabet@gmail.com>
date Tue, 12 Aug 2008 18:14:56 +0200
parents
children
comparison
equal deleted inserted replaced
205:8387cbaa85ab 206:d3c148ca429b
1
2
3 int main()
4 {
5 testStruct t;
6 t.x = 5;
7
8 return t.x;
9 }
10
11 testStruct m(testStruct t)
12 {
13 t.x = t.x - 5;
14 return t;
15 }
16
17 struct testStruct
18 {
19 int x;
20 }