gcc/testsuite/gdc.test/compilable/ddoc11479.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 | module ddoc11479; |
| 6 | |
| 7 | /// |
| 8 | struct S1(T) |
| 9 | { |
| 10 | /// |
| 11 | int a; |
| 12 | |
| 13 | /// |
| 14 | private: |
| 15 | int x; |
| 16 | |
| 17 | private: |
| 18 | /// |
| 19 | int y; |
| 20 | |
| 21 | /// |
| 22 | public: |
| 23 | int b; |
| 24 | |
| 25 | public: |
| 26 | /// |
| 27 | int c; |
| 28 | } |
| 29 | |
| 30 | |
| 31 | /// |
| 32 | struct S2(T) |
| 33 | { |
| 34 | /// |
| 35 | int a; |
| 36 | |
| 37 | /// |
| 38 | private int x; |
| 39 | |
| 40 | /// |
| 41 | int b; |
| 42 | |
| 43 | /// |
| 44 | public int c; |
| 45 | |
| 46 | public |
| 47 | /// |
| 48 | int d; |
| 49 | } |
| 50 | |
| 51 | |
| 52 | /// |
| 53 | struct S3(T) |
| 54 | { |
| 55 | /// |
| 56 | int a; |
| 57 | |
| 58 | /// |
| 59 | private { int x; } |
| 60 | |
| 61 | /// |
| 62 | int b; |
| 63 | |
| 64 | /// |
| 65 | private |
| 66 | { |
| 67 | int y; |
| 68 | |
| 69 | public |
| 70 | { |
| 71 | int c; |
| 72 | } |
| 73 | } |
| 74 | |
| 75 | private |
| 76 | { |
| 77 | int z; |
| 78 | |
| 79 | /// |
| 80 | public |
| 81 | { |
| 82 | int d; |
| 83 | } |
| 84 | } |
| 85 | |
| 86 | private |
| 87 | { |
| 88 | int w; |
| 89 | |
| 90 | public |
| 91 | { |
| 92 | /// |
| 93 | int e; |
| 94 | } |
| 95 | } |
| 96 | } |