Files
swift-mirror/test/IRGen/Inputs/comdat2.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

5 lines
54 B
Swift

public func g() {
var a: [Int] = []
a.append(1)
}