| Index: mojo/public/interfaces/bindings/tests/test_structs.mojom
|
| diff --git a/mojo/public/interfaces/bindings/tests/test_structs.mojom b/mojo/public/interfaces/bindings/tests/test_structs.mojom
|
| index 7c492553700ad8e202b738ea887593d69183084f..adebff8d3f1f0e96d90bfb72022a1b8d93cfeb7d 100644
|
| --- a/mojo/public/interfaces/bindings/tests/test_structs.mojom
|
| +++ b/mojo/public/interfaces/bindings/tests/test_structs.mojom
|
| @@ -352,3 +352,14 @@ struct MultiVersionStructV7 {
|
| [MinVersion=7]
|
| bool f_bool;
|
| };
|
| +
|
| +// Used to verify that interfaces that are struct members can be defined in the
|
| +// same file.
|
| +
|
| +interface SomeInterface {
|
| + SomeMethod(RectPair pair) => (RectPair other_pair);
|
| +};
|
| +
|
| +struct ContainsInterface {
|
| + SomeInterface some_interface;
|
| +};
|
|
|