blob: 955ffe6deceb285b788113c0fddec29cd8c1577a [file] [log] [blame]
// RUN: %target-swift-frontend %s -emit-ir -g -o - | %FileCheck %s
func markUsed<T>(_ t: T) {}
class Class {
// CHECK: tag: DW_TAG_structure_type, name: "$S5atype5ClassC8functionyyxlFQq_D"
func function<T>(_ x: T) {
markUsed("hello world")
}
}
func main() {
var v = 1
var c = Class()
c.function(1)
}
main()