gcc/testsuite/gdc.test/compilable/ddoc7795.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 ddoc7795; |
| 6 | |
| 7 | struct TimeValue { |
| 8 | this(int hour, int minute, int second = 0, int ms = 0) {} |
| 9 | } |
| 10 | |
| 11 | /// |
| 12 | struct DateTime { |
| 13 | /// |
| 14 | this(int x, TimeValue t = TimeValue(0, 0)) {} |
| 15 | } |
| 16 | |
| 17 | void main() { } |