mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Change the mangling of accessors to have a variable or subscript node as their only child node, while subscript nodes no longer contain a decl name.
8 lines
287 B
Swift
8 lines
287 B
Swift
// RUN: %target-swift-frontend -emit-silgen -enable-sil-ownership %s | %FileCheck %s
|
|
|
|
class Test {
|
|
// CHECK-LABEL: sil hidden [transparent] @_T046magic_identifiers_inside_property_initializers4TestC4fileSSvpfi
|
|
// CHECK: string_literal utf16 "{{.*}}.swift"
|
|
let file = #file
|
|
}
|