Revision 42e827e6e7247224c068a9dce8f6eabd2ab892ba authored by Devin Coughlin on 21 January 2016, 00:12:56 UTC, committed by Devin Coughlin on 21 January 2016, 01:22:15 UTC
This reverts commit f6dd24bb68b35292c3663c92c74508e97f247e53.
1 parent ac1f5a6
objc_remapped_inits.swift
// RUN: %target-swift-frontend %s -emit-ir -disable-objc-attr-requires-foundation-module | FileCheck %s
// FIXME: This test could use %clang-importer-sdk, but the compiler crashes.
// REQUIRES: OS=ios
// REQUIRES: objc_interop
import UIKit
// CHECK-NOT: (initWithTitle:delegate:cancelButtonTitle:destructiveButtonTitle:otherButtonTitles:)
// CHECK: (initWithTitle:delegate:cancelButtonTitle:destructiveButtonTitle:)
// CHECK-NOT: (initWithTitle:delegate:cancelButtonTitle:destructiveButtonTitle:otherButtonTitles:)
_ = UIActionSheet(title: "abc", delegate: nil, cancelButtonTitle: nil, destructiveButtonTitle: nil)
Computing file changes ...