Sign in
llvm
/
llvm-project
/
81c55e67ad7d42afafd3952fa39af3aaaea6a9ba
/
.
/
llvm
/
test
/
Assembler
/
mutually-recursive-types.ll
blob: e030d8ec50654ad540d5de36a995a9521096c177 [
file
] [
log
] [
blame
]
; RUN: not llvm-as < %s 2>&1 | FileCheck %s
; CHECK: error: identified structure type 'rt3' is recursive
%rt1
=
type
{
i32
,
{
i8
,
%rt2
,
i8
},
i32
}
%rt2
=
type
{
i64
,
{
i6
,
%rt3
}
}
%rt3
=
type
{
%rt1
}