mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
15 lines
324 B
Swift
15 lines
324 B
Swift
// RUN: %target-run-simple-swift(-I %S/Inputs -Xfrontend -enable-experimental-cxx-interop)
|
|
//
|
|
// REQUIRES: executable_test
|
|
|
|
import MethodCallsMethod
|
|
import StdlibUnittest
|
|
|
|
var MembersTestSuite = TestSuite("MembersTestSuite")
|
|
|
|
MembersTestSuite.test("method calls method") {
|
|
expectEqual(42, callMethod(41))
|
|
}
|
|
|
|
runAllTests()
|