]> git.buserror.net Git - polintos/scott/priv.git/blob - idlcomp/tests/foo.idl
Initial checkin from Perforce.
[polintos/scott/priv.git] / idlcomp / tests / foo.idl
1 namespace blah.aoeu.baz {
2 }
3
4 struct foo {
5         struct bar {
6         };
7         
8         bar foo;
9         
10         struct baz {
11         };
12         
13         baz[...7] foo2;
14         typedef int bt1;
15         alias int bt2;
16         alias bt1 bt3;
17         typedef bt3 bt4;
18         alias flong bt5;
19         typedef bt5 bt6;
20         const bt1 v = z;
21         const bt2 w = 4;
22         const bt3 x = v;
23         const bt4 y = 6;
24         const int z = 8;
25         const flong f1 = -8988;
26         const bt6 f2 = 3.14159;
27         int[5.....test.foo.z] arr;
28 };
29
30 interface htns {
31         guid: "18822205-18C8-11DA-A6A1-000A95BB581A";
32
33         a(..test.foo.baz p);
34         b() async;
35         async(foo[1...4] out out shared shared, int a) async;
36 };
37
38 interface htns2 : htns {
39         guid: "1B77F182-18C8-11DA-BD70-000A95BB581A";
40         
41         b() async;
42         a(..test.foo.baz p) async;
43         async() async;
44 };
45
46 bitfield b {
47         a, b:3, c
48 };
49
50 struct aoeu.htns {
51 //      foo.baz d;
52         System.Exceptions.Exception foo;
53 //      int foo;
54
55         ..test.foo bar;
56         System.Objects.ID baz;
57         
58         enum {
59         } a, b, c;
60         
61         const bool cbf = false;
62         const bool cbt = true;
63         const bool cbi = cbt;
64 };