Sign in
fuchsia
/
third_party
/
swift
/
refs/tags/swift-DEVELOPMENT-SNAPSHOT-2018-05-25-a
/
.
/
test
/
SILGen
/
protocol-extension-default-arg-existential-objc.swift
blob: dbc2951eb87a3f056418f05ed0565da5271d521f [
file
] [
log
] [
blame
]
// RUN: %target-swift-frontend -emit-sil -verify %s
// REQUIRES: objc_interop
import
Foundation
class
Foo
:
NSObject
{
dynamic
func bridged
(
x
:
String
=
"foo"
)
{}
}
func invokeMethodsWithDefaultArgs
(
x
:
Foo
)
{
x
.
bridged
()
}