summaryrefslogtreecommitdiff
path: root/TAO/tests/IDL_Test/exception_misuse2.idl
blob: d5deeeebd22bc0609eb809c485bdbcbd098c5ba4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/**
 * @file exception_misuse2.idl
 *
 * https://github.com/DOCGroup/ACE_TAO/issues/2015
 *
 * tao_idl shall reject use of exception for struct member
 *
 */
module exception_misuse2 {
  exception exc_t {
    string reason;
  };
  struct mystruct {
    exc_t ex;
  };
};