forked from swiftlang/swift
- Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomment_to_xml.swift
10 lines (8 loc) · 671 Bytes
/
comment_to_xml.swift
1
2
3
4
5
6
7
8
9
10
//===--- Check that we convert comments to XML correctly.
// RUN: %target-swift-frontend -typecheck -verify -disable-objc-attr-requires-foundation-module -enable-objc-interop %S/../Inputs/comment_to_something_conversion.swift
// RUN: %target-swift-ide-test -enable-objc-interop -module-name comment_to_xml -print-comments -source-filename %S/../Inputs/comment_to_something_conversion.swift -comments-xml-schema %S/../../bindings/xml/comment-xml-schema.rng > %t.txt
// RUN: %FileCheck %S/../Inputs/comment_to_something_conversion.swift < %t.txt
// RUN: %FileCheck %s -check-prefix=WRONG < %t.txt
// REQUIRES: no_asan
// REQUIRES: libxml2
// WRONG-NOT: CommentXMLInvalid