Add test for referring to nested types. am: 61db854465 am: a30e27f697 am: c799177c3e
am: e409df1e55
Change-Id: I06119bcf4f27260a2275ed6e56a9c51b11580892
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;
+};