summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteven Moreland2017-11-27 20:11:27 -0600
committerandroid-build-merger2017-11-27 20:11:27 -0600
commit7b64abd01180ec6181a42c4c79d1874efa35795f (patch)
tree372465d37dd1eb58f90b41317b57169dd401e9db
parent53541a71c2f0fd815356afdc8116a7f744eb8095 (diff)
parent6a5daf8cac8fdec6a1d48a4d699f22c82e448165 (diff)
downloadplatform-hardware-interfaces-7b64abd01180ec6181a42c4c79d1874efa35795f.tar.gz
platform-hardware-interfaces-7b64abd01180ec6181a42c4c79d1874efa35795f.tar.xz
platform-hardware-interfaces-7b64abd01180ec6181a42c4c79d1874efa35795f.zip
Merge "Test for references to typedef'd enum."
am: 6a5daf8cac Change-Id: I4f4edb7ad49105bd53c59d4a4428ad8573acbfa2
-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 };