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