summaryrefslogtreecommitdiff
path: root/TAO/tests/IDL_Test/reopened_modules.idl
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/IDL_Test/reopened_modules.idl')
-rw-r--r--TAO/tests/IDL_Test/reopened_modules.idl120
1 files changed, 0 insertions, 120 deletions
diff --git a/TAO/tests/IDL_Test/reopened_modules.idl b/TAO/tests/IDL_Test/reopened_modules.idl
deleted file mode 100644
index 6d22f7001a1..00000000000
--- a/TAO/tests/IDL_Test/reopened_modules.idl
+++ /dev/null
@@ -1,120 +0,0 @@
-// $Id$
-
-// ============================================================================
-//
-// = LIBRARY
-// TAO/tests/IDL_Test
-//
-// = FILENAME
-// reopened_modules.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.
-//
-// ============================================================================
-
-// These examples test the lookup abilities of the
-// TAO IDL compiler, which must backtrack to find all
-// the possibly reopened scopes.
-
-module A
-{
- module B
- {
- interface x1 {};
- };
-};
-
-module A
-{
- module C
- {
- interface x2
- {
- // 'A::B::' should be implicit
- void op1 (in x1 obj);
- // 'A::' should be implicit
- void op2 (in B::x1 obj);
- // Just for reference
- void op3 (in A::B::x1 obj);
- };
- };
-};
-
-// Each occurrence of Party and Person should be
-// recognized as being in the same scope as the
-// previous occurrence(s).
-
-module dot
-{
- interface Party;
-
- interface Person
- {
- attribute Party someParty;
- };
-};
-
-module dot
-{
- interface Person;
-
- interface Party
- {
- attribute Person somePerson;
- };
-};
-
-// Should be no problem in lookup of all the
-// arguments in Operation.
-module Outside
-{
- module Reopened
- {
- typedef short Tricky;
- };
-
- typedef long Tricky;
-
- module Reopened
- {
- typedef float Newdef;
- };
-};
-
-interface OpHolder
- {
-
- void Operation (in ::Outside::Tricky p1,
- out ::Outside::Reopened::Tricky p2,
- inout ::Outside::Reopened::Newdef p3);
- };
-
-// This particular combination used to cause IDL compiler
-// to go into an infinite loop looking for return type to
-// getInfo(). Partial solution got rid of infinite loop,
-// but erroneously returned ::com from lookup.
-module com {};
-
-module com
-{
- module mr
- {
- typedef short info;
- };
-};
-
-module com
-{
- interface IFace
- {
- com::mr::info getInfo ();
- };
-};
-