summaryrefslogtreecommitdiff
path: root/TAO/tests/IDL_Test/pragma.idl
blob: a23981cb5d32ee89b106969f8c2dae1f82e4f2d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
// $Id$

// ============================================================================
//
// = LIBRARY
//    TAO/tests/IDL_Test
//
// = FILENAME
//    pragma.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.
//
// ============================================================================

#pragma prefix "anvil.com"

interface hello {};

// These declarations all at one time caused the prefix above
// to be dropped.

typedef string FuBar;

enum ClusterFu
  {
    CHAOS,
    MAYHEM
  };

interface aloha;

const long GangBa = -278;

exception Riot {};

interface goodbye {};

module salutation
{
// This prefix applies only in this module
# pragma prefix "hammer.com"

  interface sayonara {};
};

// 'anvil.com' returns
interface ciao {};

interface aloha {};