Add test for referring to nested types.

Bug: 31821285

Test: `make hidl_test && adb sync && adb shell hidl_test`
Change-Id: Iae030baa5bbe6e890512b494a0b657163c6a99a6
This commit is contained in:
Yifan Hong
2016-10-03 10:30:55 -07:00
parent ea4b569fee
commit 61db854465
2 changed files with 11 additions and 1 deletions

View File

@@ -31,7 +31,7 @@ interface IFoo {
};
struct Fumble {
float x;
Outer.Inner data;
};
typedef Fumble Gumble;

View File

@@ -21,3 +21,13 @@ struct Abc {
float y;
handle z;
};
struct Outer {
struct Inner {
int32_t data;
};
};
struct Unrelated {
Outer.Inner great;
};