gcc/testsuite/gdc.test/compilable/ddoc5.d
raw| 1 | // PERMUTE_ARGS: |
| 2 | // REQUIRED_ARGS: -D -Dd${RESULTS_DIR}/compilable -o- |
| 3 | // POST_SCRIPT: compilable/extra-files/ddocAny-postscript.sh |
| 4 | |
| 5 | /** |
| 6 | |
| 7 | Test module |
| 8 | |
| 9 | */ |
| 10 | module test; |
| 11 | |
| 12 | /// class to test DDOC on members |
| 13 | class TestMembers(TemplateArg) |
| 14 | { |
| 15 | public: |
| 16 | /** |
| 17 | |
| 18 | a static method |
| 19 | |
| 20 | Params: idx = index |
| 21 | |
| 22 | */ |
| 23 | static void PublicStaticMethod(int idx) |
| 24 | { |
| 25 | } |
| 26 | } |
| 27 | |
| 28 | void main() |
| 29 | { |
| 30 | } |