Files
swift-mirror/test/IRGen/Inputs/comdat1.swift
Saleem Abdulrasool fc164ce098 IRGen: be less aggressive about applying COMDAT
COMDAT can only be applied to definitions, not declarations.  This
manifested in builds of llbuild with SwiftPM on Windows.  The nominal
type descriptor accessor declaration was marked as COMDAT.
2020-08-13 10:42:03 -07:00

6 lines
81 B
Swift

private final class C {}
public func f() {
var cs: [C] = []
cs.append(C())
}