summaryrefslogtreecommitdiff
path: root/idlc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-11-26 11:03:41 +0100
committerStephan Bergmann <sbergman@redhat.com>2013-11-26 11:03:41 +0100
commite14e4f5351cb9a6c3977abf20f9a255d8493dd57 (patch)
tree767fe53ffea2865e9b524db1925f0e10c993d855 /idlc
parent40e98f439f892af47b508968aaa25c2327b97868 (diff)
Duplicate base checking code already covers check for opt base != XInterface
Change-Id: Icd47d87f93641a0b24a96a4be8d3d120f0405f2d
Diffstat (limited to 'idlc')
-rw-r--r--idlc/test/parser/interfaceinheritance.tests8
1 files changed, 8 insertions, 0 deletions
diff --git a/idlc/test/parser/interfaceinheritance.tests b/idlc/test/parser/interfaceinheritance.tests
index a7b84125fd1e..f9cac4ca2bd8 100644
--- a/idlc/test/parser/interfaceinheritance.tests
+++ b/idlc/test/parser/interfaceinheritance.tests
@@ -269,3 +269,11 @@ interface Derived {
interface Hidden;
interface Base;
};
+
+
+EXPECT FAILURE "interfaceinheritance.tests 30":
+interface Base {};
+interface Derived {
+ interface Base;
+ [optional] interface com::sun::star::uno::XInterface;
+};