mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 13:10:12 +03:00
24 lines
399 B
D
24 lines
399 B
D
// PERMUTE_ARGS:
|
|
// REQUIRED_ARGS: -D -Dd${RESULTS_DIR}/compilable -o-
|
|
// POST_SCRIPT: compilable/extra-files/ddocAny-postscript.sh
|
|
|
|
module ddoc7656;
|
|
|
|
/**
|
|
--------
|
|
int x; // This is a $ comment (and here is some
|
|
int y; // more information about that comment)
|
|
--------
|
|
*/
|
|
void main() { }
|
|
|
|
|
|
/**
|
|
(Regression check)
|
|
|
|
Example:
|
|
----
|
|
assert(add(1, 1) == 2);
|
|
----
|
|
*/
|
|
int add(int a, int b) { return a + b; }
|