Index: tools/json_schema_compiler/test/idl_reserved_words.idl |
diff --git a/tools/json_schema_compiler/test/idl_reserved_words.idl b/tools/json_schema_compiler/test/idl_reserved_words.idl |
new file mode 100644 |
index 0000000000000000000000000000000000000000..61ddabd48a5d17bebd9474b95b7f7211d2b6e422 |
--- /dev/null |
+++ b/tools/json_schema_compiler/test/idl_reserved_words.idl |
@@ -0,0 +1,25 @@ |
+// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+namespace reserved_words { |
+ |
+ enum Foo { _float, _DOMString }; |
+ |
+ enum _enum { |
+ _callback, |
+ _namespace |
+ }; |
+ |
+ dictionary _dictionary { |
+ long _long; |
+ }; |
+ |
+ dictionary MyType { |
+ DOMString _interface; |
+ }; |
+ |
+ interface Functions { |
+ static void _static(Foo foo, _enum e); |
+ }; |
+}; |