Files
swift-mirror/test/SILGen/protocol-extension-default-arg-existential-objc.swift
2018-06-22 01:55:33 -07:00

13 lines
234 B
Swift

// RUN: %target-swift-frontend -emit-sil -verify %s
// REQUIRES: objc_interop
import Foundation
class Foo: NSObject {
@objc dynamic func bridged(x: String = "foo") {}
}
func invokeMethodsWithDefaultArgs(x: Foo) {
x.bridged()
}