summaryrefslogtreecommitdiff
path: root/idlc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-01-29 09:55:22 +0100
committerStephan Bergmann <sbergman@redhat.com>2013-01-29 09:55:22 +0100
commita39c302d4babc20fc515a0e140d9fdebf6c9ec84 (patch)
tree232aa2dda985023a7d273f07f0fc1be3dbff16a3 /idlc
parent2a54af218c336150c6b0b3cb259ed7dce2f4ddf3 (diff)
Clarify that constant groups cannot be typedef'ed
Change-Id: Ie169ac426d6de107025023dae987cbce6179007f
Diffstat (limited to 'idlc')
-rw-r--r--idlc/test/parser/typedef.tests5
1 files changed, 5 insertions, 0 deletions
diff --git a/idlc/test/parser/typedef.tests b/idlc/test/parser/typedef.tests
index 60c46f228639..0eaf5d634016 100644
--- a/idlc/test/parser/typedef.tests
+++ b/idlc/test/parser/typedef.tests
@@ -56,3 +56,8 @@ typedef void T;
EXPECT FAILURE "typedef.tests 7":
exception E {};
typedef E T;
+
+
+EXPECT FAILURE "typdef.tests 8":
+constants C {};
+typedef C T;