]> git.proxmox.com Git - mirror_qemu.git/blame - tests/decode/err_field9.decode
tests/decode: Add tests for various named-field cases
[mirror_qemu.git] / tests / decode / err_field9.decode
CommitLineData
276d77de
PM
1# This work is licensed under the terms of the GNU LGPL, version 2 or later.
2# See the COPYING.LIB file in the top-level directory.
3
4# Diagnose fields where the format refers to a field defined in the
5# pattern and the pattern refers to a field defined in the format.
6# This is theoretically not impossible to implement, but is not
7# supported by the script at this time.
8&abcd a b c d
9%refa a:3
10%refc c:4
11# Format defines 'c' and sets 'b' to an indirect ref to 'a'
12@fmt ........ ........ ........ c:8 &abcd b=%refa
13# Pattern defines 'a' and sets 'd' to an indirect ref to 'c'
14insn 00000000 00000000 00000000 ........ @fmt d=%refc a=6