blob: 95e6ae23bc19ffe72da6b003a8361494c6f6a390 [file] [log] [blame]
// RUN: %target-swift-frontend %s -emit-ir -gdwarf-types -o - | FileCheck %s
func markUsed<T>(_ t: T) {}
// Int1 uses 1 bit, but is aligned at 8 bits.
// CHECK: !DIBasicType(name: "_TtBi1_", size: 1, align: 8, encoding: DW_ATE_unsigned)
func main() {
var t = true
var f = false
markUsed("hello")
}
main()