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 3db9da2 commit a15a0adCopy full SHA for a15a0ad
test/SILGen/subscript_accessor.swift
@@ -1,4 +1,4 @@
1
-// RUN: %target-swift-frontend -enable-sil-ownership -O -emit-silgen -primary-file %s | %FileCheck %s
+// RUN: %target-swift-frontend -enable-sil-ownership -O -emit-sil -primary-file %s | %FileCheck %s
2
3
// CHECK-LABEL: sil private [transparent] @$S18subscript_accessor1XVxSgycimytfU_
4
// CHECK: [[SETTER:%.*]] = function_ref @$S18subscript_accessor1XVxSgycis
@@ -17,3 +17,4 @@ struct X<T> {
17
func testXRead<T>(x: X<T>) -> T {
18
return x[]!
19
}
20
+// CHECK: $S18subscript_accessor1XVxSgycisTf4dn_n
0 commit comments