Skip to content

Commit e96b2a6

Browse files
committed
Update a test
1 parent c3d2276 commit e96b2a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/SIL/store_borrow_verify_errors.sil

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ bb1:
199199
}
200200

201201
// CHECK: Begin Error in function test_store_borrow_dest
202-
// CHECK: SIL verification failed: store_borrow destination can only be an alloc_stack: isa<AllocStackInst>(SI->getDest())
202+
// CHECK: SIL verification failed: store_borrow destination can only be an alloc_stack: isLegal(SI->getDest())
203203
// CHECK: Verifying instruction:
204204
// CHECK: %0 = argument of bb0 : $Klass // user: %3
205205
// CHECK: %2 = struct_element_addr %1 : $*NonTrivialStruct, #NonTrivialStruct.val // user: %3

0 commit comments

Comments
 (0)