commit | c799177c3e79a59c17fa1e646265ed6b494ee1cd | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Tue Oct 04 21:12:13 2016 +0000 |
committer | android-build-merger <android-build-merger@google.com> | Tue Oct 04 21:12:13 2016 +0000 |
tree | b924729832c387d9cc16352a625597125dba6836 | |
parent | 99af2885eef98d840cd376789490d59f975e60ac [diff] | |
parent | a30e27f69707608ebf79c5da35f4b0a979954ba3 [diff] |
Add test for referring to nested types. am: 61db854465 am: a30e27f697 Change-Id: I47800ef8ff8d6aa53580f09cfa9417c41b6f3098
diff --git a/tests/foo/1.0/IFoo.hal b/tests/foo/1.0/IFoo.hal index d0119ec..5cbacd2 100644 --- a/tests/foo/1.0/IFoo.hal +++ b/tests/foo/1.0/IFoo.hal
@@ -31,7 +31,7 @@ }; struct Fumble { - float x; + Outer.Inner data; }; typedef Fumble Gumble;
diff --git a/tests/foo/1.0/types.hal b/tests/foo/1.0/types.hal index a2c8593..9666b53 100644 --- a/tests/foo/1.0/types.hal +++ b/tests/foo/1.0/types.hal
@@ -21,3 +21,13 @@ float y; handle z; }; + +struct Outer { + struct Inner { + int32_t data; + }; +}; + +struct Unrelated { + Outer.Inner great; +};