summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Mitz <mitza@ociweb.com>2019-01-07 10:50:31 -0600
committerAdam Mitz <mitza@ociweb.com>2019-01-07 10:50:31 -0600
commita04e905b622542ee93ffbed59e3fe521c921a346 (patch)
tree8891d3d245f10c3eadef1de115b330a304e79881
parente79f3a06d218860ac8f6d767df121fa8da006fd2 (diff)
downloadATCD-a04e905b622542ee93ffbed59e3fe521c921a346.tar.gz
test 3940: adapt to new IDL4 capabilities
-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")