root/trunk/src/tutorials/examples/t29_static_function/test.d

Revision 6, 241 bytes (checked in by jcc7, 3 years ago)

Made more progress in developing convertToWiki and added some files.

Line 
1 /* http://www.dsource.org/forums/viewtopic.php?t=29 */
2
3 // Temp.d
4
5 void main()
6 {
7     static int function() foo;
8    
9     static int ret1(){ return 1; }
10     static int ret2(){ return 2; }
11    
12     foo = &ret1;
13     foo = &ret2;
14 }
Note: See TracBrowser for help on using the browser.