d: Merge upstream dmd, druntime 26f049fb26, phobos 330d6a4fd.
[official-gcc.git] / gcc / testsuite / gdc.test / compilable / ddoc7656.d
blob82766dc868bccdcf69825013ec7837992f54467f
1 // PERMUTE_ARGS:
2 // REQUIRED_ARGS: -D -Dd${RESULTS_DIR}/compilable -o-
3 // POST_SCRIPT: compilable/extra-files/ddocAny-postscript.sh
5 module ddoc7656;
7 /**
8 --------
9 int x; // This is a $ comment (and here is some
10 int y; // more information about that comment)
11 --------
13 void main() { }
16 /**
17 (Regression check)
19 Example:
20 ----
21 assert(add(1, 1) == 2);
22 ----
24 int add(int a, int b) { return a + b; }