summaryrefslogtreecommitdiff
path: root/idlc/test
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2006-12-19 10:35:32 +0000
committerIvo Hinkelmann <ihi@openoffice.org>2006-12-19 10:35:32 +0000
commit6223a860b055fb193befaf9ee43ff78c9aa2f180 (patch)
treeb45bec0804e96c5a4b5c504962390f3b50ab411f /idlc/test
parentefc367adea9802da021c8ac189760011447ab870 (diff)
INTEGRATION: CWS jl46 (1.4.16); FILE MERGED
2006/12/04 17:42:34 jl 1.4.16.2: RESYNC: (1.4-1.5); FILE MERGED 2006/09/15 11:43:06 sb 1.4.16.1: #i69498# AstService::checkLastConstructor failed for differing ctors that happened to have identically typed parameters in one position.
Diffstat (limited to 'idlc/test')
-rw-r--r--idlc/test/parser/constructor.tests34
1 files changed, 32 insertions, 2 deletions
diff --git a/idlc/test/parser/constructor.tests b/idlc/test/parser/constructor.tests
index 67cc142ed..bf80e95b9 100644
--- a/idlc/test/parser/constructor.tests
+++ b/idlc/test/parser/constructor.tests
@@ -4,9 +4,9 @@
#
# $RCSfile: constructor.tests,v $
#
-# $Revision: 1.5 $
+# $Revision: 1.6 $
#
-# last change: $Author: kz $ $Date: 2006-11-06 14:41:15 $
+# last change: $Author: ihi $ $Date: 2006-12-19 11:35:32 $
#
# The Contents of this file are made available subject to
# the terms of GNU Lesser General Public License Version 2.1.
@@ -175,3 +175,33 @@ module com { module sun { module star { module test {
service S: com::sun::star::test::X {
c([in] any... a);
};
+
+
+EXPECT SUCCESS "constructor.tests 20":
+module com { module sun { module star { module uno {
+ interface XInterface { void m(); };
+}; }; }; };
+service S: com::sun::star::uno::XInterface {
+ c1([in] long a, [in] long b);
+ c2([in] long a);
+};
+
+
+EXPECT SUCCESS "constructor.tests 21":
+module com { module sun { module star { module uno {
+ interface XInterface { void m(); };
+}; }; }; };
+service S: com::sun::star::uno::XInterface {
+ c1([in] long a);
+ c2([in] long a, [in] long b);
+};
+
+
+EXPECT SUCCESS "constructor.tests 22":
+module com { module sun { module star { module uno {
+ interface XInterface { void m(); };
+}; }; }; };
+service S: com::sun::star::uno::XInterface {
+ c1([in] long a, [in] short b);
+ c2([in] long a, [in] long b);
+};