commit | a30e27f69707608ebf79c5da35f4b0a979954ba3 | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Tue Oct 04 21:10:15 2016 +0000 |
committer | android-build-merger <android-build-merger@google.com> | Tue Oct 04 21:10:15 2016 +0000 |
tree | b924729832c387d9cc16352a625597125dba6836 | |
parent | a2bdc9d01205742a40cd78cb288e8d78b8abee06 [diff] | |
parent | 61db8544658dd5d7afdf3f16e505490bfba0b104 [diff] |
Add test for referring to nested types. am: 61db854465 Change-Id: Ie4a21561afd882184fe0d9aa1c2772b5849222f7
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; +};