commit | e409df1e5512643991cd75cab14ff98d914886b8 | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Tue Oct 04 21:18:09 2016 +0000 |
committer | android-build-merger <android-build-merger@google.com> | Tue Oct 04 21:18:09 2016 +0000 |
tree | b924729832c387d9cc16352a625597125dba6836 | |
parent | fdff6ba374128283ae5c3269e3ddb8ba40e6c0ac [diff] | |
parent | c799177c3e79a59c17fa1e646265ed6b494ee1cd [diff] |
Add test for referring to nested types. am: 61db854465 am: a30e27f697 am: c799177c3e Change-Id: I16e6fa76a3c810df40e93a06ccac799f7c8207ad
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; +};