blob: a153f5e13af9ac6f767fa59cb3428171f4dcf6f7 [file] [log] [blame]
// RUN: %target-swift-emit-silgen -parse-as-library %s -verify | %FileCheck %s
// RUN: %target-swift-emit-ir -parse-as-library %s
func function1() {
return
class LocalClass {}
}
func function2() {
let _ = [
{
struct S {
var x = 0
}
}
]
}
// CHECK-LABEL: sil private [transparent] [ossa] @$s11local_types9function2yyFyycfU_1SL_V1xSivpfi : $@convention(thin) () -> Int
// CHECK-LABEL: sil_vtable LocalClass