mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[tests] Update tests based on new template name importing rules.
This commit is contained in:
@@ -1,21 +1,21 @@
|
||||
// RUN: %target-swift-ide-test -print-module -module-to-print=TemplatesWithForwardDecl -I %S/Inputs -source-filename=x -enable-experimental-cxx-interop | %FileCheck %s
|
||||
|
||||
// CHECK: enum NS1 {
|
||||
// CHECK-NEXT: struct __CxxTemplateInstN3NS115ForwardDeclaredIiEE {
|
||||
// CHECK-NEXT: struct ForwardDeclared<Int32> {
|
||||
// CHECK-NEXT: init()
|
||||
// CHECK-NEXT: }
|
||||
// CHECK-NEXT: @available(*, unavailable, message: "Un-specialized class templates are not currently supported. Please use a specialization of this type.")
|
||||
// CHECK-NEXT: struct ForwardDeclared<T> {
|
||||
// CHECK-NEXT: }
|
||||
// CHECK-NEXT: struct __CxxTemplateInstN3NS14DeclIiEE {
|
||||
// CHECK-NEXT: struct Decl<Int32> {
|
||||
// CHECK-NEXT: init()
|
||||
// CHECK-NEXT: init(fwd: NS1.__CxxTemplateInstN3NS115ForwardDeclaredIiEE)
|
||||
// CHECK-NEXT: init(fwd: NS1.ForwardDeclared<Int32>)
|
||||
// CHECK-NEXT: typealias MyInt = Int32
|
||||
// CHECK-NEXT: var fwd: NS1.__CxxTemplateInstN3NS115ForwardDeclaredIiEE
|
||||
// CHECK-NEXT: static let intValue: NS1.__CxxTemplateInstN3NS14DeclIiEE.MyInt
|
||||
// CHECK-NEXT: var fwd: NS1.ForwardDeclared<Int32>
|
||||
// CHECK-NEXT: static let intValue: NS1.Decl<Int32>.MyInt
|
||||
// CHECK-NEXT: }
|
||||
// CHECK-NEXT: @available(*, unavailable, message: "Un-specialized class templates are not currently supported. Please use a specialization of this type.")
|
||||
// CHECK-NEXT: struct Decl<T> {
|
||||
// CHECK-NEXT: }
|
||||
// CHECK-NEXT: typealias di = NS1.__CxxTemplateInstN3NS14DeclIiEE
|
||||
// CHECK-NEXT: typealias di = NS1.Decl<Int32>
|
||||
// CHECK-NEXT: }
|
||||
|
||||
Reference in New Issue
Block a user