summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TAO/tests/Bug_3940_Regression/Bug_3940_Regression.mpc1
-rw-r--r--TAO/tests/Bug_3940_Regression/test.idl20
2 files changed, 21 insertions, 0 deletions
diff --git a/TAO/tests/Bug_3940_Regression/Bug_3940_Regression.mpc b/TAO/tests/Bug_3940_Regression/Bug_3940_Regression.mpc
index 92fc577565c..18232e96e23 100644
--- a/TAO/tests/Bug_3940_Regression/Bug_3940_Regression.mpc
+++ b/TAO/tests/Bug_3940_Regression/Bug_3940_Regression.mpc
@@ -1,3 +1,4 @@
// -*- MPC -*-
project (test3940) : taolib_with_idl {
+ idlflags += --idl-version 4
}
diff --git a/TAO/tests/Bug_3940_Regression/test.idl b/TAO/tests/Bug_3940_Regression/test.idl
index 0bb7fbcc68c..904c8910ddc 100644
--- a/TAO/tests/Bug_3940_Regression/test.idl
+++ b/TAO/tests/Bug_3940_Regression/test.idl
@@ -1,5 +1,25 @@
#if !defined (__BORLANDC__)
+@annotation unit {
+ string value;
+};
+
+@annotation range {
+ double min;
+ double max;
+};
+
+@annotation min {
+ long value;
+};
+
+@annotation max {
+ long value;
+};
+
+@annotation key {
+};
+
module test {
@unit("deg")