Mercurial > projects > ldc
annotate tests/mini/n.d @ 1651:cb960b882ca3 tip
bindings were moved to dsource.org/projects/bindings/
author | Moritz Warning <moritzwarning@web.de> |
---|---|
date | Thu, 20 May 2010 20:05:03 +0200 |
parents | 1bb99290e03a |
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 } |