1 // PERMUTE_ARGS:
2 // REQUIRED_ARGS: -D -Dd${RESULTS_DIR}/compilable -o-
3 // POST_SCRIPT: compilable/extra-files/ddocAny-postscript.sh 9155
4 
5 module ddoc9155;
6 
7 /++
8  +  Note:
9  +     test document note
10  +     2nd line
11  +  Example:
12  +  ---
13  +  import std.stdio;   //&
14  +  writeln("Hello world!");
15  +  if (test) {  
16  +    writefln("D programming language");
17  +  }
18  +
19  +      algorithm;
20  +  
21  +  xxx;    //comment
22  +      yyy;
23  +  /* test
24  +   * comment
25  +   */
26  +
27  + // Create MIME Base64 with CRLF, per line 76.
28  +File f = File("./text.txt", "r");
29  +uint line = 0;
30  + // The ElementType of data is not aggregation type
31  +foreach (encoded; Base64.encoder(data)) 
32  +  ---
33  +/
34 
35 /**
36   --------------------------------------------------------
37   wstring ws;
38   transcode("hello world",ws);
39       // transcode from UTF-8 to UTF-16
40       --------------------------------------------------------
41  */
42 
43 /**
44  *  Example:
45  *  ---
46  *  import std.stdio;   //&
47  *  writeln("Hello world!");
48  *  if (test) {  
49  *    writefln("D programming language");
50  *  }
51  *
52  *      algorithm;
53  *  
54  *  xxx;    //comment
55  *      yyy;
56  *  /+ test
57  *   + comment
58  *   +/
59  *  ---
60  */
61 
62 /**
63 ----
64 #!/usr/bin/env rdmd
65 // Computes average line length for standard input.
66 import std.stdio;
67 ----
68 */
69 /**
70 	---
71 	writefln(q"EOS
72 	This
73 	is a multi-line
74 	heredoc string
75 	EOS"
76 	);
77 	---
78 */
79 
80 void foo(){}