aboutsummaryrefslogtreecommitdiff
path: root/tests/decode/err_pattern_group_nest1.decode
diff options
context:
space:
mode:
Diffstat (limited to 'tests/decode/err_pattern_group_nest1.decode')
-rw-r--r--tests/decode/err_pattern_group_nest1.decode14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/decode/err_pattern_group_nest1.decode b/tests/decode/err_pattern_group_nest1.decode
new file mode 100644
index 0000000000..7d09891a1c
--- /dev/null
+++ b/tests/decode/err_pattern_group_nest1.decode
@@ -0,0 +1,14 @@
+# 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
+
+# Make sure braces are matched
+{
+ top 00000000 00000000 00000000 00000000
+ [
+ sub1 00000000 00000000 00000000 ........ %sub1
+ sub2 00000000 00000000 ........ ........ %sub1 %sub2
+ }
+}