Debian Codegraph @

gcc/testsuite/gdc.test/compilable/ddoc7656.d

raw
1 // PERMUTE_ARGS:
2 // REQUIRED_ARGS: -D -Dd${RESULTS_DIR}/compilable -o-
3 // POST_SCRIPT: compilable/extra-files/ddocAny-postscript.sh
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; }