Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 61db8544 authored by Yifan Hong's avatar Yifan Hong
Browse files

Add test for referring to nested types.

Bug: 31821285

Test: `make hidl_test && adb sync && adb shell hidl_test`
Change-Id: Iae030baa5bbe6e890512b494a0b657163c6a99a6
parent ea4b569f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -31,7 +31,7 @@ interface IFoo {
    };

    struct Fumble {
        float x;
        Outer.Inner data;
    };

    typedef Fumble Gumble;
+10 −0
Original line number Diff line number Diff line
@@ -21,3 +21,13 @@ struct Abc {
    float y;
    handle z;
};

struct Outer {
    struct Inner {
        int32_t data;
    };
};

struct Unrelated {
    Outer.Inner great;
};