]> git.buserror.net Git - polintos/scott/priv.git/blob - idlcomp/tests/foo2.idl
Initial checkin from Perforce.
[polintos/scott/priv.git] / idlcomp / tests / foo2.idl
1 interface Object
2 {
3         guid: "9D7AFDD8-FD84-11D9-8D5B-000A95BB581A";
4 };
5
6 namespace blah.aoeu.baz {
7 }
8
9 struct foo3 {
10         struct aoeuhtns {
11         };
12 };
13
14 struct foo : foo3 {
15         using foo3.*;
16
17         struct bar {
18         };
19         
20         bar foo;
21         
22         struct baz {
23         };
24         
25         aoeuhtns aoeu;
26         
27         baz[...7] foo2;
28         typedef int bt1;
29         alias int bt2;
30         alias bt1 bt3;
31         typedef bt3 bt4;
32         alias flong bt5;
33         typedef bt5 bt6;
34         const int v = z;
35         const bt2 w = 4;
36         const bt3 x = v;
37         const bt4 y = 6;
38         const int z = 93;
39         const flong f1 = -8988;
40         const bt6 f2 = 3.14159;
41         int[5...z] arr;
42 };
43
44 interface htns {
45         guid: "A10BEB64-FD84-11D9-909B-000A95BB581A";
46         a(System.foo.baz p);
47         b() async;
48         async(foo[1...4] async shared out, int a) async;
49 };
50
51 interface htns2 : htns {
52         guid: "A3759710-FD84-11D9-A11A-000A95BB581A";
53         b() async;
54         a(System.foo.baz p) async;
55         async() async async;
56 };
57
58 bitfield b {
59         a, b:3, c
60 };
61
62 struct aoeu.htns {
63 //      foo.baz d;
64 //      int foo;
65
66         enum {
67         } a, b, c;
68 };
69
70 struct VStruct virtual {
71         guid: "E0C0D164-3102-11DA-B067-00112431A05E";
72 };