Files
swift-mirror/test/attr/attr_objc_simd.swift
David Farler b7d17b25ba Rename -parse flag to -typecheck
A parse-only option is needed for parse performance tracking and the
current option also includes semantic analysis.
2016-11-28 10:50:55 -08:00

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 }
}