dmd/compiler/test/compilable/ddoc7656.d
2022-07-09 18:53:07 +02:00

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; }