Index: tools/idl_parser/test_parser/dictionary_web.idl |
diff --git a/tools/idl_parser/test_parser/dictionary_web.idl b/tools/idl_parser/test_parser/dictionary_web.idl |
index 5030686fc93b41674e9a11aa68fe5c56000aefec..ba5b1644cc68fda7b27c744f22d0fe28f0e5477e 100644 |
--- a/tools/idl_parser/test_parser/dictionary_web.idl |
+++ b/tools/idl_parser/test_parser/dictionary_web.idl |
@@ -92,4 +92,7 @@ dictionary MyDictNull { |
DOMString? setString = null; |
}; |
- |
+/* ERROR Unexpected keyword "attribute" after "{". */ |
+dictionary MyDictUnexpectedAttribute { |
+ attribute DOMString foo = ""; |
+}; |