2 //=============================================================================
4 * @file invalid_scoping2.idl
6 * This file contains examples of IDL code that has
7 * caused problems in the past for the TAO IDL
8 * compiler. This test is to make sure the problems
11 //=============================================================================
14 // Ensure that scope ::A::B::target exists
15 // but doesn't contain enum numbers2.
16 // ::A::B::target should hide the ::A::target
17 // defined later when inside scope ::A::B.
28 // Ensure that enum ::A::target::numbers2 exists
29 // which should not be found inside scope B due
30 // to the internal "target" module above.
39 // Attempt to access global scope ::A::target::numbers2
40 // with a local (non-fully pathed) name target::numbers2
41 // from within ::A::B which DOES contain it's own target
42 // module that does NOT contain numbers2. THIS SHOULD NOT
43 // COMPILE OR LOCK-UP tao_idl. The two target modules are NOT
44 // the same module and thus the outer one is hidden by the
48 typedef target
::numbers2 myType
;