blob: a94df3a1d0b791f2802583d0fa95e9d106670ae4 [file] [log] [blame]
// RUN: %target-swift-frontend -assume-parsing-unqualified-ownership-sil -primary-file %s -emit-ir | %FileCheck %s
// REQUIRES: CPU=x86_64
class Foobar {
init() {
var a : Bool = true
}
}
// Make sure we are mis-initializing the alloca.
// CHECK-LABEL: define {{.*}}swiftcc %T11alloc_stack6FoobarC* @"$S11alloc_stack6FoobarCACycfc"(%T11alloc_stack6FoobarC* swiftself)
// CHECK-NOT: store{{.*}}opaque
// CHECK: ret {{.*}}%0
// CHECK:}