Index: tools/json_schema_compiler/test/idl_callback_arrays.idl |
diff --git a/tools/json_schema_compiler/test/idl_callback_arrays.idl b/tools/json_schema_compiler/test/idl_callback_arrays.idl |
new file mode 100644 |
index 0000000000000000000000000000000000000000..105e4dbae4846f190b10d68c0720608c01399916 |
--- /dev/null |
+++ b/tools/json_schema_compiler/test/idl_callback_arrays.idl |
@@ -0,0 +1,13 @@ |
+// 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. |
+ |
+// Tests the case of an array of callbacks as an a argument |
+ |
+namespace idl_callback_arrays { |
+ callback MyCallback = void(long x); |
+ |
+ interface Functions { |
+ static void whatever(MyCallback[] callbacks); |
+ }; |
+}; |