summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTreehugger Robot2017-11-27 20:02:58 -0600
committerGerrit Code Review2017-11-27 20:02:58 -0600
commit6a5daf8cac8fdec6a1d48a4d699f22c82e448165 (patch)
tree42fbd78b54fb09e3413378e926f18c4484001e08
parentd10cb041bc42852dc9b7c33d4c9497f6b26b1b0f (diff)
parent4921bc2e13722ffe3f66b708cfd825b98da9b917 (diff)
downloadplatform-hardware-interfaces-6a5daf8cac8fdec6a1d48a4d699f22c82e448165.tar.gz
platform-hardware-interfaces-6a5daf8cac8fdec6a1d48a4d699f22c82e448165.tar.xz
platform-hardware-interfaces-6a5daf8cac8fdec6a1d48a4d699f22c82e448165.zip
Merge "Test for references to typedef'd enum."
-rw-r--r--tests/expression/1.0/IExpressionExt.hal4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/expression/1.0/IExpressionExt.hal b/tests/expression/1.0/IExpressionExt.hal
index e96bf0d4..8b56ec66 100644
--- a/tests/expression/1.0/IExpressionExt.hal
+++ b/tests/expression/1.0/IExpressionExt.hal
@@ -26,7 +26,9 @@ interface IExpressionExt {
26 ENUM_BEST = android.hardware.tests.expression@1.0::IExpression.Constants:CONST_BAR, 26 ENUM_BEST = android.hardware.tests.expression@1.0::IExpression.Constants:CONST_BAR,
27 }; 27 };
28 28
29 typedef Color[((Constants:MAX_ARRAY_SIZE << 1) - (Constants:CONST_FOO + 1)*8) >> 1] SixteenColors; 29 typedef Constants AlsoConstants;
30
31 typedef Color[((Constants:MAX_ARRAY_SIZE << 1) - (AlsoConstants:CONST_FOO + 1)*8) >> 1] SixteenColors;
30 struct ArrayOfColors { 32 struct ArrayOfColors {
31 Color[(Constants:MAX_ARRAY_SIZE << 1) - (Constants:CONST_FOO + 1)*8] my32Colors; // 32 33 Color[(Constants:MAX_ARRAY_SIZE << 1) - (Constants:CONST_FOO + 1)*8] my32Colors; // 32
32 }; 34 };