Files
swift-mirror/test/IRGen/rdar15304329.swift
Dmitri Hrybenko 6058d291ca CMake: allow the SDK overlay to be built separately from the compiler
and the stdandard library

rdar://19703353

Swift SVN r25139
2015-02-10 21:57:03 +00:00

23 lines
448 B
Swift

// RUN: rm -rf %t && mkdir %t
// RUN: %build-irgen-test-overlays
// RUN: %target-swift-frontend(mock-sdk: -sdk %S/Inputs -I %t) %s -emit-ir | FileCheck %s
// REQUIRES: objc_interop
// CHECK-NOT: @_TWvi{{.*}}
// CHECK: _TWvdvC12rdar153043293Bar3fooGVS_3FooSi_
// CHECK-NOT: @_TWvi{{.*}}
import Foundation
struct Foo<T> { var x: T }
class Bar : NSObject {
var foo: Foo<Int>
init(foo: Foo<Int>) {
self.foo = foo
super.init()
}
}