mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
12 lines
509 B
Swift
12 lines
509 B
Swift
// RUN: %target-swift-ide-test -print-module -module-to-print=ClassTemplateInNamespace -I %S/Inputs -source-filename=x -enable-experimental-cxx-interop | %FileCheck %s
|
|
|
|
// CHECK: enum Space {
|
|
// CHECK: struct Ship<_> {
|
|
// CHECK: init()
|
|
// CHECK: }
|
|
// CHECK: @available(*, unavailable, message: "Un-specialized class templates are not currently supported. Please use a specialization of this type.")
|
|
// CHECK: struct Ship<> {
|
|
// CHECK: }
|
|
// CHECK: typealias Orbiter = Space.Ship<_>
|
|
// CHECK: }
|