summaryrefslogtreecommitdiffstats
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
commit9ab7e93229e845cc32feab6ecbaed1b4dadd67a0 (patch)
treee544cf33b81f979791410ca6f730aed80e9f35d7 /idlc/test
parentINTEGRATION: CWS jl46 (1.2.16); FILE MERGED (diff)
downloadcore-9ab7e93229e845cc32feab6ecbaed1b4dadd67a0.tar.gz
core-9ab7e93229e845cc32feab6ecbaed1b4dadd67a0.zip
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 67cc142ed915..bf80e95b90d3 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);
+};