gcc/testsuite/gdc.test/compilable/ddoc13.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 | /// struct doc |
| 6 | struct Bug4107(T) |
| 7 | { |
| 8 | /// templated function doc |
| 9 | void foo(U)(U u) { } |
| 10 | } |
| 11 | |
| 12 | /// alpha |
| 13 | struct Bug4107b(T) { |
| 14 | /// beta |
| 15 | struct B(U) { |
| 16 | /// gamma |
| 17 | struct C(V) { |
| 18 | /// delta |
| 19 | struct D(W) { |
| 20 | /// epsilon |
| 21 | B!W e(X)(C!V c, X[] x...) {} |
| 22 | } |
| 23 | } |
| 24 | } |
| 25 | } |