mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 13:10:12 +03:00
25 lines
351 B
D
25 lines
351 B
D
// PERMUTE_ARGS:
|
|
// REQUIRED_ARGS: -D -Dd${RESULTS_DIR}/compilable -o-
|
|
// POST_SCRIPT: compilable/extra-files/ddocAny-postscript.sh
|
|
module ddoc9727;
|
|
|
|
/** The function foo. */
|
|
void foo(int x);
|
|
|
|
/** */
|
|
unittest
|
|
{
|
|
foo(1);
|
|
}
|
|
|
|
/** foo can be used like this: */
|
|
unittest
|
|
{
|
|
foo(2);
|
|
}
|
|
|
|
/** foo can also be used like this: */
|
|
unittest
|
|
{
|
|
foo(3);
|
|
}
|