blob: 9f5a59a434c39282edf0c93fd15434b755640a65 (
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
70
71
72
73
74
75
76
77
78
79
80
81
|
// PERMUTE_ARGS:
// REQUIRED_ARGS: -D -Dd${RESULTS_DIR}/compilable -o-
// POST_SCRIPT: compilable/extra-files/ddocAny-postscript.sh
module ddoc9155;
/++
+ Note:
+ test document note
+ 2nd line
+ Example:
+ ---
+ import std.stdio; //&
+ writeln("Hello world!");
+ if (test) {
+ writefln("D programming language");
+ }
+
+ algorithm;
+
+ xxx; //comment
+ yyy;
+ /* test
+ * comment
+ */
+
+ // Create MIME Base64 with CRLF, per line 76.
+File f = File("./text.txt", "r");
+uint line = 0;
+ // The ElementType of data is not aggregation type
+foreach (encoded; Base64.encoder(data))
+ ---
+/
/**
--------------------------------------------------------
wstring ws;
transcode("hello world",ws);
// transcode from UTF-8 to UTF-16
--------------------------------------------------------
*/
/**
* Example:
* ---
* import std.stdio; //&
* writeln("Hello world!");
* if (test) {
* writefln("D programming language");
* }
*
* algorithm;
*
* xxx; //comment
* yyy;
* /+ test
* + comment
* +/
* ---
*/
/**
----
#!/usr/bin/env rdmd
// Computes average line length for standard input.
import std.stdio;
----
*/
/**
---
writefln(q"EOS
This
is a multi-line
heredoc string
EOS"
);
---
*/
void foo(){}
|