Files
swift-mirror/test/Interop/Cxx/class/inline-function-codegen/constructor-calls-method-irgen.swift
Arnold Schwaighofer ee6441c4d2 Fix test/Interop/Cxx
2021-08-05 12:15:23 -07:00

10 lines
382 B
Swift

// RUN: %target-swift-emit-ir %s -I %S/Inputs -enable-cxx-interop | %FileCheck %s
import ConstructorCallsMethod
public func getIncrementorValue() -> CInt {
return callConstructor(41)
}
// CHECK: define linkonce_odr{{( dso_local)?}} i32 @{{_ZN11Incrementor9incrementEi|"\?increment@Incrementor@@QEAAHH@Z"}}(%struct.Incrementor* nonnull align 1 dereferenceable(1) %this, i32 %t)