Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / tests / IDL_Test / repo_id_mod.idl
blob454aa3922ca01482f462a7b38253f8513a33d733
2 //=============================================================================
3 /**
4 * @file repo_id_mod.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
9 * stay fixed.
12 * @author Jeff Parsons <parsons@cs.wustl.edu> and TAO users.
14 //=============================================================================
17 module gleep
19 local interface schmooze {};
22 module gleep
24 local interface schmeer {};
27 module gleep
29 local interface schlemiel {};
31 // This should propagate to all previous and subsequent
32 // openings of this module.
33 typeprefix gleep "gleep_prefix";
36 module gleep
38 local interface spilkis {};
40 module floop
42 local interface schmuck {};
43 local interface schmendrick;
45 // Tests the handling of extra whitespace as well as the version setting.
46 # pragma version gleep::floop::schmendrick 524.23
48 local interface schmendrick {};
50 module verklempt
52 local interface schlemazel {};
54 // This will override the prefix directive for module floop at the end
55 // of the file.
56 typeprefix floop::verklempt "verklempt_prefix";
60 local interface schmegegging {};
63 // This should override any existing prefix and disable any subsequent
64 // attempts to set it, such as in the directive below.
65 typeid gleep::floop::schmuck "ABRA:cadabra/hocus/pocus:1.23";
67 // This will affect everything in floop's scope recursively, except items
68 // which have a prefix that was applied to a narrower scope.
69 typeprefix ::gleep::floop "floop_prefix";