| Index: tools/json_schema_compiler/test/idl_basics.idl
|
| diff --git a/tools/json_schema_compiler/test/idl_basics.idl b/tools/json_schema_compiler/test/idl_basics.idl
|
| index 7f0c3da47124dc1c15593cbe6d6a3e38438ec743..d85b5e2e5a5be6ea5c47cfc628ee42a793ee0f97 100644
|
| --- a/tools/json_schema_compiler/test/idl_basics.idl
|
| +++ b/tools/json_schema_compiler/test/idl_basics.idl
|
| @@ -45,6 +45,10 @@ namespace idl_basics {
|
|
|
| static void function13(EnumType type, Callback5 cb);
|
| static void function14(EnumType[] types);
|
| +
|
| + // "switch" is a reserved word and should cause a C++ compile error if we
|
| + // emit code for this declaration.
|
| + [nocompile] static void function15(long switch);
|
| };
|
|
|
| interface Events {
|
|
|