blob: 899376e0274a4942a28b4f106f2689c1cbc5a5c2 [file] [log] [blame]
// RUN: %target-swift-frontend -emit-ir -enable-library-evolution %s | %FileCheck %s
public class ResilientClass {
public dynamic func resilientMethod() {}
}
// The dynamic replacement key should be public even though the method
// implementation is hidden.
// CHECK-LABEL: @"$s36class_resilience_dynamic_replacement14ResilientClassC15resilientMethodyyFTx" = {{(dllexport |protected )?}}constant %swift.dyn_repl_key
// CHECK-LABEL: define hidden swiftcc void @"$s36class_resilience_dynamic_replacement14ResilientClassC15resilientMethodyyF"