Files
swift-mirror/test/Interpreter/late_import_cgfloat.swift
Stephen Canon fb8b9e143d SIMD into stdlib
Implements SE-0229.

Also updates simd module types in the Apple SDKs to use the new types, and updates a couple tests to work with the new types and protocols.
2018-11-29 17:09:01 -05:00

15 lines
294 B
Swift

// RUN: %target-repl-run-simple-swift | %FileCheck %s
// REQUIRES: swift_repl
// This used to crash.
let str = ""
import Foundation
let pt = CGPoint(x: 1.0, y: 2.0)
// CHECK: pt : CGPoint = (1.0, 2.0)
import simd
let f = float2(x: 1.0, y: 2.0)
// CHECK: f : float2 = SIMD2<Float>(1.0, 2.0)