1 // PERMUTE_ARGS:
2 // REQUIRED_ARGS: -D -Dd${RESULTS_DIR}/compilable -o-
3 // POST_SCRIPT: compilable/extra-files/ddocAny-postscript.sh 11
4 
5 /// The various floating point exceptions
6 enum
7 {
8     FE_INVALID      = 1,        ///
9     FE_DENORMAL     = 2,        ///
10     FE_DIVBYZERO    = 4,        ///
11     FE_OVERFLOW     = 8,        ///
12     FE_UNDERFLOW    = 0x10,     ///
13     FE_INEXACT      = 0x20,     ///
14     FE_ALL_EXCEPT   = 0x3F,     /// Mask of all the exceptions
15 }
16 
17 alias int myint;
18 
19 ///
20 myint bar;
21 
22 ///
23 myint foo(myint x = myint.max)
24 {
25     return x;
26 }
27 
28 
29 ///
30 class Foo
31 {
32     ///
this(string s)33     this(string s) { }
34 }
35 
36 
37 extern (C):
38 
39 ///
40 struct div_t { int  quot,rem; }
41 ///
42 struct ldiv_t { int quot,rem; }
43 ///
44 struct lldiv_t { long quot,rem; }
45 
46     div_t div(int,int);	///
47     ldiv_t ldiv(int,int); ///
48     lldiv_t lldiv(long, long); ///
49 
50 
51 
52     void *calloc(size_t, size_t);	///
53     void *malloc(size_t);	/// dittx
54 
55 /**
56 Example:
57 ---
58 private:
59     int i = 0;
60 ---
61 */
test1()62 void test1()
63 {
64 }
65 
66 
67 
68 
69 
70