summaryrefslogtreecommitdiff
path: root/TAO
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2007-01-24 12:43:37 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2007-01-24 12:43:37 +0000
commit490681dc4c8781c5a4d814da129ece4a7207b322 (patch)
tree678888ec1cb869a4515558ca2b4663d1a4fcc2df /TAO
parent0e6366435c48eacf89eef2f3db1459882fd44f83 (diff)
downloadATCD-490681dc4c8781c5a4d814da129ece4a7207b322.tar.gz
Wed Jan 24 12:25:12 UTC 2007 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'TAO')
-rw-r--r--TAO/tests/IDL_Test/IDL_Test.mpc1
-rw-r--r--TAO/tests/IDL_Test/struct.idl22
2 files changed, 23 insertions, 0 deletions
diff --git a/TAO/tests/IDL_Test/IDL_Test.mpc b/TAO/tests/IDL_Test/IDL_Test.mpc
index 02691299c3a..c9edfb66edc 100644
--- a/TAO/tests/IDL_Test/IDL_Test.mpc
+++ b/TAO/tests/IDL_Test/IDL_Test.mpc
@@ -25,6 +25,7 @@ project(*Main): taoserver, messaging {
params.idl
reopened_modules.idl
sequence.idl
+ struct.idl
reopen_include1.idl
reopen_include2.idl
typeprefix.idl
diff --git a/TAO/tests/IDL_Test/struct.idl b/TAO/tests/IDL_Test/struct.idl
new file mode 100644
index 00000000000..e339c502ab8
--- /dev/null
+++ b/TAO/tests/IDL_Test/struct.idl
@@ -0,0 +1,22 @@
+// $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;
+ };
+};