We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a861f3e commit 318f90cCopy full SHA for 318f90c
test/SILGen/default_arguments.swift
@@ -139,6 +139,8 @@ class Foo {
139
return x
140
}
141
142
+ // CHECK-LABEL: sil private @globalinit_33_E52D764B1F2009F2390B2B8DF62DAEB8_func0
143
+ // CHECK: string_literal utf16 "Foo"
144
static let x = Foo(int:0)
145
146
@@ -148,6 +150,9 @@ testMagicLiterals()
148
150
closure { testMagicLiterals() }
149
151
autoclosure(testMagicLiterals())
152
153
+// CHECK: string_literal utf16 "default_arguments"
154
+let y : String = #function
155
+
156
// CHECK-LABEL: sil hidden @_T017default_arguments16testSelectorCallySi_Si17withMagicLiteralstF
157
// CHECK: string_literal utf16 "testSelectorCall(_:withMagicLiterals:)"
158
func testSelectorCall(_ x: Int, withMagicLiterals y: Int) {
0 commit comments