gcc/testsuite/gdc.test/compilable/ddoc9727.d
raw| 1 | // PERMUTE_ARGS: |
| 2 | // REQUIRED_ARGS: -D -Dd${RESULTS_DIR}/compilable -o- |
| 3 | // POST_SCRIPT: compilable/extra-files/ddocAny-postscript.sh |
| 4 | module ddoc9727; |
| 5 | |
| 6 | /** The function foo. */ |
| 7 | void foo(int x); |
| 8 | |
| 9 | /** */ |
| 10 | unittest |
| 11 | { |
| 12 | foo(1); |
| 13 | } |
| 14 | |
| 15 | /** foo can be used like this: */ |
| 16 | unittest |
| 17 | { |
| 18 | foo(2); |
| 19 | } |
| 20 | |
| 21 | /** foo can also be used like this: */ |
| 22 | unittest |
| 23 | { |
| 24 | foo(3); |
| 25 | } |