Sign in
fuchsia
/
third_party
/
swift
/
5b6fab651b63976b2b59267d71ab182fd7344675
/
.
/
test
/
SIL
/
verifier-fail-instruction.sil
blob: 22686643eee3510822e18c018d740a8bbcd97b88 [
file
] [
log
] [
blame
]
// RUN: not --crash %target-sil-opt -assume-parsing-unqualified-ownership-sil %s
// REQUIRES: asserts
class
A
{
}
sil
@bad_instruction
:
$@convention
(
thin
)
(
@inout
A
)
->
()
{
bb0
(%
0
:
$
*
A
):
%
1
=
upcast
%
0
:
$
*
A to $
*
A
%
2
=
tuple
()
return
%
2
:
$
()
}