summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2006-07-03 10:59:13 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2006-07-03 10:59:13 +0000
commita9fd523ba05e1b8b1f932ec9d12b76a183068c17 (patch)
treeb03701135772fbfbb5420aa8ae5207c75ec8d1e3
parent7ca2817e99839da1e069690eb1a1f8d91bd2129a (diff)
downloadATCD-a9fd523ba05e1b8b1f932ec9d12b76a183068c17.tar.gz
ChangeLogTag: Mon Jul 3 09:27:12 UTC 2006 Johnny Willemsen <jwillemsen@remedy.nl>
-rw-r--r--TAO/tests/IDL_Test/Bug_2577_Regression.idl24
-rw-r--r--TAO/tests/IDL_Test/IDL_Test.mpc1
2 files changed, 25 insertions, 0 deletions
diff --git a/TAO/tests/IDL_Test/Bug_2577_Regression.idl b/TAO/tests/IDL_Test/Bug_2577_Regression.idl
new file mode 100644
index 00000000000..93198e5cefb
--- /dev/null
+++ b/TAO/tests/IDL_Test/Bug_2577_Regression.idl
@@ -0,0 +1,24 @@
+// $Id$
+
+// Test Bug 2577
+
+struct DateTime_T
+{
+ short t;
+};
+
+typedef DateTime_T WhenLastUpdated_T;
+
+valuetype Data_T
+{
+#if BUG
+ public WhenLastUpdated_T whenLastUpdated;
+#else
+ public DateTime_T whenLastUpdated;
+#endif
+};
+
+interface User_T {
+ DateTime_T getLoginTime();
+};
+
diff --git a/TAO/tests/IDL_Test/IDL_Test.mpc b/TAO/tests/IDL_Test/IDL_Test.mpc
index 99124097180..475465fe38b 100644
--- a/TAO/tests/IDL_Test/IDL_Test.mpc
+++ b/TAO/tests/IDL_Test/IDL_Test.mpc
@@ -7,6 +7,7 @@ project(*Main): taoserver, messaging {
IDL_Files {
idlflags += -GC -GH -Gd
array.idl
+ Bug_2577_Regression.idl
enum_in_struct.idl
full.idl
fwd.idl