mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
When sanitizing the documentation comments for synthesized extensions, we expect some text like "<declaration>extension". This isn't the case when use-facing attributes are present. rdar://50913510
5 lines
311 B
Swift
5 lines
311 B
Swift
// RUN: %empty-directory(%t.mod)
|
|
// RUN: %swift -emit-module -o %t.mod/cake.swiftmodule %S/Inputs/cake.swift -parse-as-library -enable-objc-interop -emit-module-doc-path %t.mod/cake.swiftdoc
|
|
// RUN: %sourcekitd-test -req=doc-info -module cake -- -I %t.mod > %t.response
|
|
// RUN: diff -u %s.response %t.response
|