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

10 lines
433 B
Swift

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