From b38cc6f5ab745373f399bfc558b4fe70c89c717c Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 29 Jan 2013 09:53:29 +0100 Subject: Clarify that attribute setter raises list must not be empty Change-Id: Ic2d8b1e6f9dbaeee3e3ad9280236abd503de3ffd --- idlc/test/parser/attribute.tests | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'idlc') diff --git a/idlc/test/parser/attribute.tests b/idlc/test/parser/attribute.tests index becd688b8c79..d5814acbe9b0 100644 --- a/idlc/test/parser/attribute.tests +++ b/idlc/test/parser/attribute.tests @@ -36,6 +36,14 @@ interface I1 { }; +EXPECT FAILURE "attribute.tests 3a": +interface I1 { + [attribute] long a { + set raises (); + }; +}; + + EXPECT SUCCESS "attribute.tests 4": exception E1 {}; interface I1 { -- cgit v1.2.3