mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
A parse-only option is needed for parse performance tracking and the current option also includes semantic analysis.
15 lines
428 B
Swift
15 lines
428 B
Swift
// RUN: %target-swift-frontend(mock-sdk: %clang-importer-sdk) -typecheck -verify %s
|
|
|
|
// REQUIRES: objc_interop
|
|
|
|
import Foundation
|
|
import simd
|
|
|
|
@objc class Foo: NSObject {
|
|
@objc func doStuffWithFloat4(x: float4) -> float4 { return x }
|
|
@objc func doStuffWithDouble2(x: double2) -> double2 { return x }
|
|
@objc func doStuffWithInt3(x: int3) -> int3 { return x }
|
|
@objc func doStuffWithUInt4(x: uint4) -> uint4 { return x }
|
|
}
|
|
|