summaryrefslogtreecommitdiff
path: root/TAO/tests/IDL_Test/fwd.idl
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/IDL_Test/fwd.idl')
-rw-r--r--TAO/tests/IDL_Test/fwd.idl15
1 files changed, 15 insertions, 0 deletions
diff --git a/TAO/tests/IDL_Test/fwd.idl b/TAO/tests/IDL_Test/fwd.idl
index bdf5bc6dec1..533c30fc790 100644
--- a/TAO/tests/IDL_Test/fwd.idl
+++ b/TAO/tests/IDL_Test/fwd.idl
@@ -59,3 +59,18 @@ module mod2
interface fwd;
};
+// Tests a bug where code generation for an interface
+// which was forward declared, then fully defined with
+// both concrete and abstract parents caused the IDL
+// compiler to crash.
+module fwd_mixed_intf
+{
+ interface mixed_parents;
+
+ interface concrete_parent {};
+
+ abstract interface abstract_parent {};
+
+ interface mixed_parents : concrete_parent, abstract_parent {};
+};
+