mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
I am doing this separately from the actual change to eliminate the option to make it easier to review.
13 lines
452 B
Swift
13 lines
452 B
Swift
// RUN: %target-swift-frontend -primary-file %s -O -emit-ir | %FileCheck %s
|
|
|
|
// rdar://24121475
|
|
// Ideally, these wouldn't be in the v-table at all; but as long as they
|
|
// are, we need to emit symbols for them.
|
|
class C {
|
|
private var i: Int
|
|
init(i: Int) { self.i = i }
|
|
}
|
|
|
|
// CHECK: @"$s7zombies1CC1i33_{{.*}}vg" = hidden {{(dllexport )?}}alias void (), void ()* @_swift_dead_method_stub
|
|
// CHECK: define internal void @_swift_dead_method_stub()
|