summaryrefslogtreecommitdiff
path: root/TAO/tests/IDL_Test/Bug_2577_Regression.idl
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/IDL_Test/Bug_2577_Regression.idl')
-rw-r--r--TAO/tests/IDL_Test/Bug_2577_Regression.idl22
1 files changed, 22 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..9b7b9ffa3af
--- /dev/null
+++ b/TAO/tests/IDL_Test/Bug_2577_Regression.idl
@@ -0,0 +1,22 @@
+// $Id$
+
+// Test Bug 2577
+
+struct DateTime_T
+{
+ short t;
+};
+
+typedef DateTime_T WhenLastUpdated_T;
+
+valuetype Data_T
+{
+ // Typedef valuetype member was blocking generation of
+ // SArg specialization for the struct.
+ public WhenLastUpdated_T whenLastUpdated;
+};
+
+interface User_T {
+ DateTime_T getLoginTime();
+};
+