mirror of
https://github.com/qemu/qemu.git
synced 2024-12-04 01:03:38 +08:00
bf92118fa9
This adds one test that supposed to succeed to test deep nesting of pattern groups which is rarely exercised by targets using decode tree. The remaining tests exercise various fail conditions. Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de> Message-Id: <20190227120217.20794-1-kbastian@mail.uni-paderborn.de> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
23 lines
595 B
Plaintext
23 lines
595 B
Plaintext
# This work is licensed under the terms of the GNU LGPL, version 2 or later.
|
|
# See the COPYING.LIB file in the top-level directory.
|
|
|
|
%sub1 0:8
|
|
%sub2 8:8
|
|
%sub3 16:8
|
|
%sub4 24:7
|
|
|
|
# Make sure deep netsting works, as few targets will actually exercise it
|
|
{
|
|
top 00000000 00000000 00000000 00000000
|
|
{
|
|
sub1 00000000 00000000 00000000 ........ %sub1
|
|
{
|
|
sub2 00000000 00000000 ........ ........ %sub1 %sub2
|
|
{
|
|
sub3 00000000 ........ ........ ........ %sub1 %sub2 %sub3
|
|
sub4 0....... ........ ........ ........ %sub1 %sub2 %sub3 %sub4
|
|
}
|
|
}
|
|
}
|
|
}
|