summaryrefslogtreecommitdiff
path: root/TAO/tests/IDLv4/anonymous_types/test.idl
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/IDLv4/anonymous_types/test.idl')
-rw-r--r--TAO/tests/IDLv4/anonymous_types/test.idl9
1 files changed, 9 insertions, 0 deletions
diff --git a/TAO/tests/IDLv4/anonymous_types/test.idl b/TAO/tests/IDLv4/anonymous_types/test.idl
index eee64242483..d8e95fee31e 100644
--- a/TAO/tests/IDLv4/anonymous_types/test.idl
+++ b/TAO/tests/IDLv4/anonymous_types/test.idl
@@ -3,6 +3,15 @@
* there is already a test file at tests/IDL_Test/anonymous.idl.
*/
+#include __TAO_IDL_FEATURES
+#ifdef TAO_IDL_HAS_ANONYMOUS_TYPES
+# if !TAO_IDL_HAS_ANONYMOUS_TYPES
+# error "Expecting macro to be true"
+# endif
+#else
+# error "Expecting macro to be defined"
+#endif
+
struct TestStruct {
short short_array[10];
short another_short_array[10];