diff options
Diffstat (limited to 'ACE/TAO/tests/IDL_Test/struct.idl')
-rw-r--r-- | ACE/TAO/tests/IDL_Test/struct.idl | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/ACE/TAO/tests/IDL_Test/struct.idl b/ACE/TAO/tests/IDL_Test/struct.idl new file mode 100644 index 00000000000..ad06f2f5134 --- /dev/null +++ b/ACE/TAO/tests/IDL_Test/struct.idl @@ -0,0 +1,43 @@ +// $Id$ +// Double forward declared struct test, created by Martin Corino <mcorino@remedy.nl> + +module Test +{ + struct S3; + + struct S1 + { + string hello; + }; + + struct S3; + + typedef sequence<S3> TS3Seq; + + struct S3 + { + TS3Seq m_seq; + boolean m_has_more; + }; + + struct S4; + typedef sequence<S4> TS4Seq; + + struct S5; + typedef sequence<S5> TS5Seq; + + struct S4 + { + boolean a; + }; + struct S5 + { + boolean b; + }; + + typedef long FooType; + struct FooStruct { + FooType Foo1; + FooType Foo2; + }; +}; |