Index: mojo/public/interfaces/bindings/tests/test_wtf_types.mojom |
diff --git a/mojo/public/interfaces/bindings/tests/test_wtf_types.mojom b/mojo/public/interfaces/bindings/tests/test_wtf_types.mojom |
index 2fdbea80b6677dca45b24eb1efa3c143badc253e..183f184ef342049bee3c5742bdeeaa5eee7c2dd5 100644 |
--- a/mojo/public/interfaces/bindings/tests/test_wtf_types.mojom |
+++ b/mojo/public/interfaces/bindings/tests/test_wtf_types.mojom |
@@ -25,13 +25,26 @@ union TestWTFCodeGeneration2 { |
}; |
struct TestWTFStruct { |
+ enum NestedEnum { |
+ E0, |
+ E1, |
+ }; |
string str; |
int32 integer; |
}; |
interface TestWTF { |
+ enum NestedEnum { |
+ E0, |
+ E1, |
+ }; |
EchoString(string? str) => (string? str); |
EchoStringArray(array<string?>? arr) => (array<string?>? arr); |
EchoStringMap(map<string, string?>? str_map) |
=> (map<string, string?>? str_map); |
}; |
+ |
+enum TopLevelEnum { |
+ E0, |
+ E1, |
+}; |