// 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: "_T0Bi1_D", size: 1, encoding: DW_ATE_unsigned) | |
func main() { | |
var t = true | |
var f = false | |
markUsed("hello") | |
} | |
main() |