blob: 23e721dc170ba635876c05e92d8a809c40fbe943 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
// PERMUTE_ARGS:
// REQUIRED_ARGS: -D -Dd${RESULTS_DIR}/compilable -o-
// POST_SCRIPT: compilable/extra-files/ddocAny-postscript.sh
// REQUIRED_ARGS: -d
/** This module is for ABC
* Copyright: Copyright ©
*/
module abc;
string foos = "foo";
alias int myint; ///
alias int mytypedefint;
/** windy
* city
*
* paragraph 2 about of F $$(NAME)
* -----
* #include <stdio.h>
* void main()
* {
* printf("hello\n");
* }
* -----
* Copyright: 1998
*/
myint f;
enum E { e } /// comment1
int g; /// comment2
private int h; /// comment for H
static int i;
int j;
wchar LS = 0x2028; /// UTF line separator
wchar PS = 0x2029; /// UTF paragraph separator
wchar _XX; /// ditto
wchar YY; /// ditto
/** Function foo takes argument c and adds it to argulid.
*
* Then it munges argulid, u <u>underline</u>. <!-- c, argulid, b -->
* Params:
* c = the character which adds c to argulid
* argulid = the argument
* u = the other argument
*/
int foo(char c, int argulid, char u);
int barr() { return 3; } /// doc for barr()
/++ The Class Bar +/
class Bar
{
int x; /// member X
int y; /// member Y
protected int z; /// member Z
}
/++ The Enum Easy +/
enum Easy : int
{
red, /// the Red
blue, /// the Blue
green, /// the Green
}
|