Mercurial > projects > dang
comparison tests/parser/public_1.d @ 208:41ccd50e7cbc
Added missing tests
author | Anders Johnsen <skabet@gmail.com> |
---|---|
date | Tue, 12 Aug 2008 18:21:06 +0200 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
207:e0551773a005 | 208:41ccd50e7cbc |
---|---|
1 | |
2 public struct name | |
3 { | |
4 static: | |
5 public void foo() | |
6 { | |
7 } | |
8 public | |
9 { | |
10 private void bar() | |
11 { | |
12 } | |
13 auto: | |
14 final int i; | |
15 } | |
16 | |
17 static: | |
18 public void food() | |
19 { | |
20 } | |
21 private void bard() | |
22 { | |
23 } | |
24 final int id; | |
25 } | |
26 | |
27 void main() | |
28 { | |
29 } |