blob: b46e81d2fbef932180459b5b91f9547617efa86a [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, encoding: DW_ATE_unsigned)
func main() {
var t = true
var f = false
markUsed("hello")
}
main()