diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2023-05-23 13:04:47 +0100 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2023-05-30 10:55:39 -0700 |
commit | 276d77de503e8f5f5cbd3f7d94302ca12d1d982e (patch) | |
tree | 3aae586642f04871b33af7bd4a3ff7fa3663b92e /tests/decode/err_field10.decode | |
parent | 7e6c28be2739c2286fe09702adef4740d9a1ed41 (diff) | |
download | qemu-276d77de503e8f5f5cbd3f7d94302ca12d1d982e.zip qemu-276d77de503e8f5f5cbd3f7d94302ca12d1d982e.tar.gz qemu-276d77de503e8f5f5cbd3f7d94302ca12d1d982e.tar.bz2 |
tests/decode: Add tests for various named-field cases
Add some tests for various cases of named-field use, both ones that
should work and ones that should be diagnosed as errors.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230523120447.728365-7-peter.maydell@linaro.org>
Diffstat (limited to 'tests/decode/err_field10.decode')
-rw-r--r-- | tests/decode/err_field10.decode | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/decode/err_field10.decode b/tests/decode/err_field10.decode new file mode 100644 index 0000000..3e672b7 --- /dev/null +++ b/tests/decode/err_field10.decode @@ -0,0 +1,7 @@ +# 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. + +# Diagnose formats which refer to undefined fields +%field1 field2:3 +@fmt ........ ........ ........ ........ %field1 +insn 00000000 00000000 00000000 00000000 @fmt |