summaryrefslogtreecommitdiff
path: root/trunk/TAO/tests/IDL_Test/array_only.idl
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/TAO/tests/IDL_Test/array_only.idl')
-rw-r--r--trunk/TAO/tests/IDL_Test/array_only.idl30
1 files changed, 30 insertions, 0 deletions
diff --git a/trunk/TAO/tests/IDL_Test/array_only.idl b/trunk/TAO/tests/IDL_Test/array_only.idl
new file mode 100644
index 00000000000..bb791128223
--- /dev/null
+++ b/trunk/TAO/tests/IDL_Test/array_only.idl
@@ -0,0 +1,30 @@
+// $Id$
+
+// ============================================================================
+//
+// = LIBRARY
+// TAO/tests/IDL_Test
+//
+// = FILENAME
+// array_only.idl
+//
+// = DESCRIPTION
+// This file contains examples of IDL code that has
+// caused problems in the past for the TAO IDL
+// compiler. This test is to make sure the problems
+// stay fixed.
+//
+// = AUTHORS
+// Jeff Parsons <parsons@cs.wustl.edu> and TAO users.
+//
+// ============================================================================
+
+// The IDL compiler used to generated code that would not compile if
+// an IDL file contained nothing but an array definition, but only if
+// the Any insertion/extraction operators were generated. They
+// depended upon the definition of CORBA::SystemException (in
+// particular, CORBA::MARSHAL), but the array impl template file in
+// TAO (tao/AnyTypeCode/Any_Array_Impl_T.cpp) did not have an #include
+// for "tao/SystemException.h". Now it does.
+
+typedef char TEST_TYPE[10];