Files
swift-mirror/test/IDE/comment_to_xml.swift
Erik Eckstein 1d3724666f tests: convert about 400 tests to the new mangling by using the -new-mangling-for-tests option
When the new mangling is enabled permanently, the option can be removed from the RUN command lines again.
2017-01-24 15:27:45 -08:00

10 lines
635 B
Swift

//===--- Check that we convert comments to XML correctly.
// RUN: %target-swift-frontend -Xllvm -new-mangling-for-tests -typecheck -verify -disable-objc-attr-requires-foundation-module %S/../Inputs/comment_to_something_conversion.swift
// RUN: %target-swift-ide-test -new-mangling-for-tests -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
// WRONG-NOT: CommentXMLInvalid