Mercurial > projects > ldc
annotate tests/mini/n.d @ 341:1bb99290e03a trunk
[svn r362] Started merging the old 'test' dir as well as the newer 'tangotests' dir into 'tests/mini' and 'tests/minicomplex'.
author | lindquist |
---|---|
date | Sun, 13 Jul 2008 02:51:19 +0200 |
parents | tangotests/n.d@44a95ac7368a |
children |
rev | line source |
---|---|
lindquist@133 | 1 struct Structure |
lindquist@133 | 2 { |
lindquist@133 | 3 static void static_method() |
lindquist@133 | 4 { |
lindquist@133 | 5 } |
lindquist@133 | 6 |
lindquist@133 | 7 void method() |
lindquist@133 | 8 { |
lindquist@133 | 9 } |
lindquist@133 | 10 } |
lindquist@133 | 11 |
lindquist@133 | 12 void main() |
lindquist@133 | 13 { |
lindquist@133 | 14 //Structure.static_method(); |
lindquist@133 | 15 |
lindquist@133 | 16 Structure s; |
lindquist@133 | 17 s.method(); |
lindquist@133 | 18 } |