Files
swift-mirror/test/IRGen/zombies.swift
Michael Gottesman fd4828e40a Eliminate -assume-parsing-unqualified-ownership-sil from tests.
I am doing this separately from the actual change to eliminate the option to
make it easier to review.
2018-12-19 12:54:13 -08:00

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()