]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/testsuite/gdc.test/compilable/ddoc7656.d
d: Import dmd b8384668f, druntime e6caaab9, phobos 5ab9ad256 (v2.098.0-beta.1)
[thirdparty/gcc.git] / gcc / testsuite / gdc.test / compilable / ddoc7656.d
CommitLineData
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
5module ddoc7656;
6
7/**
8--------
9int x; // This is a $ comment (and here is some
10int y; // more information about that comment)
11--------
12*/
13void main() { }
14
15
16/**
17(Regression check)
18
19Example:
20----
21assert(add(1, 1) == 2);
22----
23*/
24int add(int a, int b) { return a + b; }