summaryrefslogtreecommitdiff
path: root/TAO/tests/Bug_2124_Regression
diff options
context:
space:
mode:
authorWilliam R. Otte <wotte@dre.vanderbilt.edu>2006-07-24 15:50:21 +0000
committerWilliam R. Otte <wotte@dre.vanderbilt.edu>2006-07-24 15:50:21 +0000
commit3aff90f4a822fcf5d902bbfbcc9fa931d6191a8c (patch)
tree197c810e5f5bce17b1233a7cb8d7b50c0bcd25e2 /TAO/tests/Bug_2124_Regression
parent6b846cf03c0bcbd8c276cb0af61a181e5f98eaae (diff)
downloadATCD-3aff90f4a822fcf5d902bbfbcc9fa931d6191a8c.tar.gz
Repo restructuring
Diffstat (limited to 'TAO/tests/Bug_2124_Regression')
-rw-r--r--TAO/tests/Bug_2124_Regression/Bug_2124_Regression.mpc8
-rw-r--r--TAO/tests/Bug_2124_Regression/README6
-rw-r--r--TAO/tests/Bug_2124_Regression/Test.idl19
-rw-r--r--TAO/tests/Bug_2124_Regression/test.cpp15
4 files changed, 48 insertions, 0 deletions
diff --git a/TAO/tests/Bug_2124_Regression/Bug_2124_Regression.mpc b/TAO/tests/Bug_2124_Regression/Bug_2124_Regression.mpc
new file mode 100644
index 00000000000..fa752d627cf
--- /dev/null
+++ b/TAO/tests/Bug_2124_Regression/Bug_2124_Regression.mpc
@@ -0,0 +1,8 @@
+// -*- MPC -*-
+// $Id$
+
+project (*Test) : taoserver {
+ Source_Files {
+ test.cpp
+ }
+}
diff --git a/TAO/tests/Bug_2124_Regression/README b/TAO/tests/Bug_2124_Regression/README
new file mode 100644
index 00000000000..56594891fda
--- /dev/null
+++ b/TAO/tests/Bug_2124_Regression/README
@@ -0,0 +1,6 @@
+// $Id$
+
+There is nothing to run for this test. It passes if the generated code
+compiles.
+
+See the bugzilla ticket for info.
diff --git a/TAO/tests/Bug_2124_Regression/Test.idl b/TAO/tests/Bug_2124_Regression/Test.idl
new file mode 100644
index 00000000000..641ad61bb7b
--- /dev/null
+++ b/TAO/tests/Bug_2124_Regression/Test.idl
@@ -0,0 +1,19 @@
+/**
+ * @file Test.idl
+ *
+ * $Id$
+ *
+ */
+
+module Test
+{
+ typedef string<10> MyString;
+ typedef MyString OtherString;
+
+ interface Foo
+ {
+ void op1( in MyString s );
+ void op2( in OtherString s );
+ };
+};
+
diff --git a/TAO/tests/Bug_2124_Regression/test.cpp b/TAO/tests/Bug_2124_Regression/test.cpp
new file mode 100644
index 00000000000..6002cf0c9e9
--- /dev/null
+++ b/TAO/tests/Bug_2124_Regression/test.cpp
@@ -0,0 +1,15 @@
+/**
+ * @file test.cpp
+ *
+ * $Id$
+ */
+
+#include "TestC.h"
+
+int main( int argc, char* argv[] )
+{
+ ACE_UNUSED_ARG( argc ) ;
+ ACE_UNUSED_ARG( argv ) ;
+
+ return 0 ;
+}