]>
Commit | Line | Data |
---|---|---|
b4c522fa IB |
1 | // PERMUTE_ARGS: |
2 | // REQUIRED_ARGS: -D -Dd${RESULTS_DIR}/compilable -o- | |
5fee5ec3 | 3 | // POST_SCRIPT: compilable/extra-files/ddocAny-postscript.sh |
b4c522fa IB |
4 | |
5 | module ddoc7656; | |
6 | ||
7 | /** | |
8 | -------- | |
9 | int x; // This is a $ comment (and here is some | |
10 | int y; // more information about that comment) | |
11 | -------- | |
12 | */ | |
13 | void main() { } | |
14 | ||
15 | ||
16 | /** | |
17 | (Regression check) | |
18 | ||
19 | Example: | |
20 | ---- | |
21 | assert(add(1, 1) == 2); | |
22 | ---- | |
23 | */ | |
24 | int add(int a, int b) { return a + b; } |