summaryrefslogtreecommitdiff
path: root/TAO/tests
diff options
context:
space:
mode:
authorparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2004-02-11 19:13:29 +0000
committerparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2004-02-11 19:13:29 +0000
commitd1cfc6e6963f4a6c75cd10aa80f7cf0df9f8b764 (patch)
treeaad12f4eaef59d344377bfbedb69ca5ca988f3db /TAO/tests
parent37d3d68722ef9cde4c017357511cfa6797848521 (diff)
downloadATCD-d1cfc6e6963f4a6c75cd10aa80f7cf0df9f8b764.tar.gz
ChangeLogTag: Wed Feb 11 12:57:23 2004 Jeff Parsons <j.parsons@vanderbilt.edu>
Diffstat (limited to 'TAO/tests')
-rw-r--r--TAO/tests/IDL_Test/anonymous.idl20
1 files changed, 19 insertions, 1 deletions
diff --git a/TAO/tests/IDL_Test/anonymous.idl b/TAO/tests/IDL_Test/anonymous.idl
index e7bcb72c875..522b1e5eb3f 100644
--- a/TAO/tests/IDL_Test/anonymous.idl
+++ b/TAO/tests/IDL_Test/anonymous.idl
@@ -34,9 +34,27 @@ module Half_Anon
typedef sequence<unsigned short, 7> bd_ushort_seq_array[11];
};
-// Neither array nor sequence are typedef'd.
module All_Anon
{
+ // Tests generation of unique template parameter type
+ // names when identical bounded strings are used
+ // repeatedly as parameters and/or return types.
+ interface anon_bd_string_test
+ {
+ const long test_string_size = 25;
+
+ string<test_string_size> TestFunc ();
+ string<test_string_size> TestFunc2 ();
+ string<test_string_size> TestFunc3 ();
+ string<test_string_size> TestFunc23 ();
+
+ void TestFunc4 (in string<test_string_size> inarg);
+ void TestFunc41 (in string<test_string_size> inarg);
+ void TestFunc42 (in string<test_string_size> inarg);
+ void TestFunc43 (in string<test_string_size> inarg);
+ };
+
+ // Neither array nor sequence are typedef'd.
exception Nested_Anon
{
sequence<float> float_seq_array[6];