Skip to content

Commit c9405fb

Browse files
martinboehmezoecarver
authored andcommitted
Add Windows-name-mangled version of symbol to SIL test.
1 parent 8f6042a commit c9405fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Interop/Cxx/class/constructors-sil.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ import Constructors
88
// CHECK: [[TYPE:%[0-9]+]] = metatype $@thin ConstructorWithParam.Type
99
// CHECK: [[LITERAL:%[0-9]+]] = integer_literal $Builtin.Int32, 42
1010
// CHECK: [[INT:%[0-9]+]] = struct $Int32 ([[LITERAL]] : $Builtin.Int32)
11-
// CHECK: [[FUNC:%[0-9]+]] = function_ref @_ZN20ConstructorWithParamC1Ei : $@convention(c) (Int32, @thin ConstructorWithParam.Type) -> @out ConstructorWithParam
11+
// CHECK: [[FUNC:%[0-9]+]] = function_ref @{{_ZN20ConstructorWithParamC1Ei|\?\?0ConstructorWithParam@@QEAA@H@Z}} : $@convention(c) (Int32, @thin ConstructorWithParam.Type) -> @out ConstructorWithParam
1212
// CHECK: %{{[0-9]+}} = apply [[FUNC]]([[VAR]], [[INT]], [[TYPE]]) : $@convention(c) (Int32, @thin ConstructorWithParam.Type) -> @out ConstructorWithParam
1313
let _ = ConstructorWithParam(42)

0 commit comments

Comments
 (0)