Test for references to typedef'd enum.
Allow using an enum even when it is typedef'd. Test: hidl-gen -Lcheck Change-Id: I45f8b40d67773c1cd34c9353b847dbae1cc4bdcd
This commit is contained in:
parent
5a05f0e3a1
commit
4921bc2e13
1 changed files with 3 additions and 1 deletions
|
@ -26,7 +26,9 @@ interface IExpressionExt {
|
|||
ENUM_BEST = android.hardware.tests.expression@1.0::IExpression.Constants:CONST_BAR,
|
||||
};
|
||||
|
||||
typedef Color[((Constants:MAX_ARRAY_SIZE << 1) - (Constants:CONST_FOO + 1)*8) >> 1] SixteenColors;
|
||||
typedef Constants AlsoConstants;
|
||||
|
||||
typedef Color[((Constants:MAX_ARRAY_SIZE << 1) - (AlsoConstants:CONST_FOO + 1)*8) >> 1] SixteenColors;
|
||||
struct ArrayOfColors {
|
||||
Color[(Constants:MAX_ARRAY_SIZE << 1) - (Constants:CONST_FOO + 1)*8] my32Colors; // 32
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue