Revert "Minor modernization of DynamicAny code"
[ACE_TAO.git] / TAO / tests / IDL_Test / pragma.idl
blob3062e8b3747b283b4e66f278235ee3078b6558ae
2 //=============================================================================
3 /**
4 * @file pragma.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 #pragma prefix "anvil.com"
19 interface hello {};
21 // These declarations all at one time caused the prefix above
22 // to be dropped.
24 typedef string FuBar;
26 enum ClusterFu
28 CHAOS,
29 MAYHEM
32 interface aloha;
34 const long GangBa = -278;
36 exception Riot {};
38 interface goodbye {};
40 module A
42 exception my_exception {};
45 module salutation
47 // This prefix applies only in this module
48 # pragma prefix "hammer.com"
50 interface sayonara {};
53 // 'anvil.com' returns
54 interface ciao {};
56 interface aloha {};