summaryrefslogtreecommitdiff
path: root/TAO/tests/IDL_Test/loader_const.idl
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/IDL_Test/loader_const.idl')
-rw-r--r--TAO/tests/IDL_Test/loader_const.idl20
1 files changed, 20 insertions, 0 deletions
diff --git a/TAO/tests/IDL_Test/loader_const.idl b/TAO/tests/IDL_Test/loader_const.idl
new file mode 100644
index 00000000000..5eee3b0d563
--- /dev/null
+++ b/TAO/tests/IDL_Test/loader_const.idl
@@ -0,0 +1,20 @@
+// $Id$
+
+#ifndef _LOADER_CONST_IDL_
+#define _LOADER_CONST_IDL_
+
+// This include caused a crash when another IDL file is processed after
+// this one in one pass. The node in the AST corresponding to the CORBA
+// module where the basic types are declared contained garbage due to
+// subsequent openings in the included file, which are destroyed between
+// files in the list (unlike the one containing the basic types).
+#include <orb.idl>
+
+#pragma prefix ""
+
+module Plesk
+{
+ const unsigned long PLESK_VENDOR_ID = 40000;
+}; /* module Plesk */
+
+#endif /* _LOADER_CONST_IDL_ */