Skip to content

Commit a15a0ad

Browse files
committed
[SILGen] Improve newly-added test that involves @_specialize
(cherry picked from commit 11b50b6)
1 parent 3db9da2 commit a15a0ad

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/SILGen/subscript_accessor.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %target-swift-frontend -enable-sil-ownership -O -emit-silgen -primary-file %s | %FileCheck %s
1+
// RUN: %target-swift-frontend -enable-sil-ownership -O -emit-sil -primary-file %s | %FileCheck %s
22

33
// CHECK-LABEL: sil private [transparent] @$S18subscript_accessor1XVxSgycimytfU_
44
// CHECK: [[SETTER:%.*]] = function_ref @$S18subscript_accessor1XVxSgycis
@@ -17,3 +17,4 @@ struct X<T> {
1717
func testXRead<T>(x: X<T>) -> T {
1818
return x[]!
1919
}
20+
// CHECK: $S18subscript_accessor1XVxSgycisTf4dn_n

0 commit comments

Comments
 (0)