mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
This option is no longer necessary, because we emit weak definitions for any imported modules. Fixes rdar://158364032.
13 lines
344 B
Swift
13 lines
344 B
Swift
// RUN: %target-swift-frontend %s -enable-experimental-feature Embedded -emit-ir | %FileCheck %s
|
|
// RUN: %target-swift-frontend %s -O -enable-experimental-feature Embedded -emit-ir | %FileCheck %s
|
|
|
|
// REQUIRES: swift_in_compiler
|
|
// REQUIRES: swift_feature_Embedded
|
|
|
|
public func foo1() { }
|
|
|
|
func foo2() { }
|
|
|
|
// CHECK: foo1
|
|
// CHECK-NOT: foo2
|