Skip to content

Commit ff7b71b

Browse files
committed
[Test] Moved declaration to top.
1 parent 23d21cd commit ff7b71b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/SILOptimizer/address_lowering.sil

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ protocol Error {}
2727

2828
struct I {}
2929

30+
class Klass {}
31+
3032
struct SI<T> {
3133
var element: T
3234
var index: I
@@ -1426,8 +1428,6 @@ bb0(%0 : @guaranteed $TestGeneric<T>):
14261428
return %10 : $()
14271429
}
14281430

1429-
class Klass {}
1430-
14311431
// CHECK-LABEL: sil hidden [ossa] @testBeginApply2LoadableYieldWithIndirectConv :
14321432
// CHECK: bb0(%0 : @guaranteed $TestGeneric<Klass>):
14331433
// CHECK: [[STK:%.*]] = alloc_stack $Klass

0 commit comments

Comments
 (0)