aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/Index/Inputs/CommentXML/valid-availability-attr-01.xml6
-rw-r--r--test/Index/comment-xml-schema.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/test/Index/Inputs/CommentXML/valid-availability-attr-01.xml b/test/Index/Inputs/CommentXML/valid-availability-attr-01.xml
index 94cbc9a00f..20ce01229e 100644
--- a/test/Index/Inputs/CommentXML/valid-availability-attr-01.xml
+++ b/test/Index/Inputs/CommentXML/valid-availability-attr-01.xml
@@ -1,7 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
+<Function>
+<Name>aaa</Name>
+<Abstract><Para>Aaa.</Para></Abstract>
<Availability distribution="OS X">
<IntroducedInVersion>8.0</IntroducedInVersion>
<DeprecatedInVersion>9.0</DeprecatedInVersion>
- <RemovedAfterVersion>10.0</RemovedAfterVersion>
+ <RemovedAfterVersion>10.0</RemovedAfterVersion>
<DeprecationSummary>use availability_test</DeprecationSummary>
</Availability>
+</Function>
diff --git a/test/Index/comment-xml-schema.c b/test/Index/comment-xml-schema.c
index 1166e78f57..dad6c8a694 100644
--- a/test/Index/comment-xml-schema.c
+++ b/test/Index/comment-xml-schema.c
@@ -12,6 +12,8 @@
// RUN: xmllint --noout --relaxng %S/../../bindings/xml/comment-xml-schema.rng %S/Inputs/CommentXML/valid-function-08.xml
// RUN: xmllint --noout --relaxng %S/../../bindings/xml/comment-xml-schema.rng %S/Inputs/CommentXML/valid-function-09.xml
//
+// RUN: xmllint --noout --relaxng %S/../../bindings/xml/comment-xml-schema.rng %S/Inputs/CommentXML/valid-availability-attr-01.xml
+//
// RUN: xmllint --noout --relaxng %S/../../bindings/xml/comment-xml-schema.rng %S/Inputs/CommentXML/valid-class-01.xml
// RUN: xmllint --noout --relaxng %S/../../bindings/xml/comment-xml-schema.rng %S/Inputs/CommentXML/valid-class-02.xml
// RUN: xmllint --noout --relaxng %S/../../bindings/xml/comment-xml-schema.rng %S/Inputs/CommentXML/valid-class-03.xml