Skip to content

Commit 0fac503

Browse files
committed
Fix tests
1 parent 69ae243 commit 0fac503

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

test/Interop/Cxx/templates/class-template-instantiation-demangling.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ public func returnInstantiation() -> WrappedMagicInt {
88
return WrappedMagicInt()
99
}
1010

11-
// CHECK: $s10demangling20receiveInstantiationyySo34__CxxTemplateInst12MagicWrapperIiEVzF ---> demangling.receiveInstantiation(inout __C.__CxxTemplateInst12MagicWrapperIiE) -> ()
12-
// CHECK: $s10demangling19returnInstantiationSo34__CxxTemplateInst12MagicWrapperIiEVyF ---> demangling.returnInstantiation() -> __C.__CxxTemplateInst12MagicWrapperIiE
11+
// CHECK: $s4main20receiveInstantiationyySo34__CxxTemplateInst12MagicWrapperIiEVzF ---> main.receiveInstantiation(inout __C.__CxxTemplateInst12MagicWrapperIiE) -> ()
12+
// CHECK: $s4main19returnInstantiationSo34__CxxTemplateInst12MagicWrapperIiEVyF ---> main.returnInstantiation() -> __C.__CxxTemplateInst12MagicWrapperIiE

test/Interop/Cxx/templates/class-template-instantiation-error-handling.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import StdlibUnittest
55

66
var TemplatesTestSuite = TestSuite("TemplatesTestSuite")
77

8-
// CHECK: class-instantiation-error-handling.swift:10:18: error: only C++ types supported
8+
// CHECK: class-template-instantiation-error-handling.swift:10:18: error: only C++ types supported
99
TemplatesTestSuite.test("swift-template-arg-not-supported") {
1010
var magicInt = MagicWrapper<String>(t: "asdf")
1111
}

0 commit comments

Comments
 (0)